JPS6318402A - Interface device for numerical control system - Google Patents
Interface device for numerical control systemInfo
- Publication number
- JPS6318402A JPS6318402A JP16162786A JP16162786A JPS6318402A JP S6318402 A JPS6318402 A JP S6318402A JP 16162786 A JP16162786 A JP 16162786A JP 16162786 A JP16162786 A JP 16162786A JP S6318402 A JPS6318402 A JP S6318402A
- Authority
- JP
- Japan
- Prior art keywords
- data
- interface device
- specific code
- numerical control
- 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.)
- Pending
Links
- 238000012546 transfer Methods 0.000 claims description 15
- 238000001514 detection method Methods 0.000 claims description 6
- 238000003860 storage Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 abstract description 4
- 238000012545 processing Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000003754 machining Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
Landscapes
- Numerical Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の目的]
(産業上の利用分野)
本発明は、工作機械等の被制御機器を数値制御する数値
制御システムにおけるデータ転送のためのインターフニ
ス装置に関し、特に上記被制御機器に関連した外部機器
を制御可能とした数値制御システムのインターフニス装
置に関する。[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to an inter-fnis device for data transfer in a numerical control system that numerically controls controlled equipment such as a machine tool, and in particular, The present invention relates to an interfunice device for a numerical control system that is capable of controlling external devices related to controlled devices.
(従来の技術)
工作機械等の被制御サーボ機器を数値制御する数値制御
システムとして、数値制御装置に、データ転送のための
インターフェース装置を介してホストコンピュータを組
合わせて構成したものがある。このような構成では、複
数台の数値制御装置(以下rNC本体」と称する。)を
1台の上位制御装置で集中管理することができることか
ら生産現場の自動化を推進する手段として脚光を浴びて
いる。(Prior Art) As a numerical control system for numerically controlling a controlled servo device such as a machine tool, there is a system in which a numerical control device is combined with a host computer via an interface device for data transfer. With this type of configuration, multiple numerical control devices (hereinafter referred to as rNC bodies) can be centrally managed by one host control device, so it is attracting attention as a means of promoting automation at production sites. .
上記のような構成でインターフェース装置を介してのデ
ータ転送モードには、リアルタイム処理とバッジ処理と
がある。リアルタイム処理は、ホストコンピュータから
インターフェース装置に備わったメモリに逐次一定二の
数値制御データ(以下r N Cデータ」と称する。)
を転送し続ける方式であり、バッジ処理は、ホストコン
ピュータからインターフェース装置に1加工サイクル分
のNCデータを一度に転送し、転送後にインターフェー
ス装置がNC本体にデータ転送を始める方式上述したよ
うに従来のインターフニス装置は、NC本体のみにデー
タ転送する構成となっており、パレット交換装置等の外
部機器に対しては一切制御は行わないものとなっていた
。この場合、外部機器は、NC本体がNCデータから特
定コード(外部機器制御コード)を読取ってこの特定コ
ードに従って制御するようにしていた。また、リアルタ
イム処理においては、ホストコンピュータが、自身に備
わっているPIO(パラレル・インプット・アウトプッ
ト)機能を利用して外部機器に対して制御するようにし
ていた。Data transfer modes via the interface device with the above configuration include real-time processing and badge processing. In real-time processing, constant numerical control data (hereinafter referred to as rNC data) is transferred from the host computer to the memory of the interface device.
Badge processing is a method in which NC data for one machining cycle is transferred from the host computer to the interface device at a time, and after the transfer, the interface device starts transferring data to the NC main body. The interfinis device is configured to transfer data only to the NC main body, and does not control any external equipment such as the pallet exchange device. In this case, the NC main body reads a specific code (external device control code) from the NC data and controls the external device according to this specific code. Furthermore, in real-time processing, the host computer uses its own PIO (parallel input/output) function to control external equipment.
(発明が解決しようとする問題点)
このように従来にあっては、外部機器を制御する場合、
NC本体側にて特定コードを判断するようにしている。(Problems to be solved by the invention) In this way, in the past, when controlling external equipment,
The specific code is determined on the NC main body side.
従って、外部機器への制御信号に機器が応答するまで時
間差が生じ、時間差の発生は、被制御機器と外部機器と
の動作不釣合いの原因となりかねない。その抑制策とし
て、判別が容易なコードを用いるとかNCデータ中のコ
ード挿入位置を考慮する等の手段を必要とするが、これ
ではNCデータの設計手法等に手間が掛ることになり、
有利でない。Therefore, a time lag occurs until the device responds to a control signal sent to the external device, and the occurrence of the time lag may cause operational imbalance between the controlled device and the external device. To prevent this, measures such as using codes that are easy to distinguish and considering the code insertion position in the NC data are required, but this requires time and effort in the design method of the NC data.
Not advantageous.
一方、リアルタイム処理の場合、ホストコンピュータ側
で外部機器を制御するようにしているため、負荷の増大
につながり、システム構成上、高速処理が要求され、コ
スト上昇の一因となった。On the other hand, in the case of real-time processing, external devices are controlled by the host computer, which increases the load and requires high-speed processing due to the system configuration, contributing to increased costs.
そこで本発明の目的は、外部機器の制御を、NC本体及
びホストコンピュータによらずに実行できる数値制御シ
ステムのインターフェース装置を提供することにある。SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an interface device for a numerical control system that can control external equipment without using an NC main body or a host computer.
[発明の構成コ
(問題点を解決するための手段)
本発明は上記問題点を解決し且つ目的を達成するために
次のような手段を講じたことを特徴としている。すなわ
ち、本発明は、数値制御データを記憶する記憶手段を有
したホストコンピュータと工作機械等の被制御機器を数
値制御する数値制御装置本体との間に介挿され、所定の
転送モードで数値制御データを主とする制御データを相
互に転送制御するインターフェース装置において、上記
制御データの転送動作時に制御データに含まれる特定コ
ードを検出する検出手段と、この検出手段により特定コ
ードを検出したとき上記被制御機器に関連した外部機器
に上記特定コードに対応した制御データを入出力する入
出力手段とを具備した構成にしである。[Structure of the Invention (Means for Solving Problems) The present invention is characterized by taking the following measures in order to solve the above problems and achieve the object. That is, the present invention provides a computer that is inserted between a host computer having a storage means for storing numerical control data and a numerical control device main body that numerically controls controlled equipment such as a machine tool, and that performs numerical control in a predetermined transfer mode. An interface device that mutually controls the transfer of control data, mainly data, includes a detection means for detecting a specific code included in the control data during the transfer operation of the control data, and a detection means for detecting a specific code included in the control data when the detection means detects the specific code. The present invention is configured to include input/output means for inputting/outputting control data corresponding to the specific code to/from an external device related to the control device.
(作用)
このような手段を講じたことにより、インターフェース
装置の入出力手段により外部機器を制御する特定コード
を判断するため、NCデータの任意の位置に挿入可能で
あり、また、ホストコンピュータはバッジ処理にてイン
ターフェース装置に外部機器の制御を委ねることができ
、負荷の増大を招くこともない。(Function) By taking such measures, the input/output means of the interface device can be inserted into any position of the NC data in order to determine the specific code that controls the external device. Control of external equipment can be entrusted to the interface device during processing, without causing an increase in load.
(実施例)
以下本発明にかかる数値制御システムの一実施例を図面
を参照して説明する。(Embodiment) An embodiment of the numerical control system according to the present invention will be described below with reference to the drawings.
第1図は本発明の一実施例の構成を示すブロック図であ
る。第1図において、工作機械等の被制御機器1を数値
制御するNC本体2と、NCデータを記憶するメモリを
有したホストコンピュータ3との間には、NCデータ転
送のためのインターフェース装置4が接続され、このイ
ンターフェース装置4にはNCデータの転送動作時にN
Cデータに含まれる特定コードを検出すると共に特定コ
ードを検出したとき上記被制御機器1に関連したパレッ
ト交換装置等の外部機器5a、5bの特定コードに対応
したNCデータを入出力する入出力制御装置6が備わっ
た構成になっている。この場合、特定コードはパラメー
タの設定で生成されるものとする。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In FIG. 1, an interface device 4 for transferring NC data is located between an NC main body 2 that numerically controls a controlled device 1 such as a machine tool, and a host computer 3 having a memory for storing NC data. N is connected to this interface device 4 during NC data transfer operation.
Input/output control that detects a specific code included in C data and inputs/outputs NC data corresponding to the specific code of external devices 5a, 5b such as pallet exchange devices related to the controlled device 1 when the specific code is detected. The configuration includes a device 6. In this case, it is assumed that the specific code is generated by setting the parameters.
次に上記の如く構成された本実施例の作用について説明
する。すなわち、インタフェース装置4は、ホストコン
ピュータ3に対してNCデータを要求し、ホストコンピ
ュータ3はこの要求に応じてインターフェース装置4に
NCデータを転送する。インターフェース装置4は転送
されたNCデータを自身のメモリに記憶し、NC本体2
のNCデータ要求に応じてこれをNC本体2に分配する
。Next, the operation of this embodiment configured as described above will be explained. That is, the interface device 4 requests NC data from the host computer 3, and the host computer 3 transfers the NC data to the interface device 4 in response to this request. The interface device 4 stores the transferred NC data in its own memory and transfers it to the NC main body 2.
The NC data is distributed to the NC main body 2 in response to the NC data request.
また、インターフェース装置4は、NC本体2にNCデ
ータを分配すると共に、その入出力制御装置6により特
定コードの検出を行う。特定コードを検出すると、入出
力制御装置6を介して外部機器5a、5bに対して制御
信号を出力す。この制御信号は、PIO機能を利用して
出力するため、同時に複数(図示では2個)の外部機器
5a。Further, the interface device 4 distributes NC data to the NC main body 2, and detects a specific code using its input/output control device 6. When the specific code is detected, a control signal is outputted to the external devices 5a and 5b via the input/output control device 6. Since this control signal is output using the PIO function, a plurality of (two in the figure) external devices 5a are output at the same time.
5bの制御が可能であり、個々に対する制御は特定コー
ドに続く数値データで制御可能となる。例えば、特定コ
ードの後に“5゛を代入することで、外部機器5aに対
してのみの制御が可能となる。5b can be controlled, and individual control can be performed using numerical data following a specific code. For example, by substituting "5" after the specific code, it becomes possible to control only the external device 5a.
第2図は本発明の他の実施例の構成を示すブロック図で
あり、外部からの信号入力で制御可能とした構成例であ
る。この例では、入出力制御装置6に対して、外部から
起動を欠けるための信号を入力してやると、インターフ
ェース装置4は、上述の動作を実行する。また、動作を
解除したときは入出力制御装置6に対して初期化を行う
ための信号を入力してやることで、実行可能となる。FIG. 2 is a block diagram showing the configuration of another embodiment of the present invention, and is an example of a configuration that can be controlled by external signal input. In this example, when a signal for interrupting activation is externally inputted to the input/output control device 6, the interface device 4 performs the above-described operation. Furthermore, when the operation is canceled, it can be executed by inputting a signal for initialization to the input/output control device 6.
以上詳述したように、入出力制御装置6に対して、−旦
起動をかけてやることでホストコンピュータ3からのN
Cデータの受信、NC本体2に対するNCデータの分配
が可能であると共に、パレット交換装置等の外部機器5
a、5bの制御を一連の動作として実行することができ
る。As detailed above, by starting up the input/output control device 6 once, the N from the host computer 3 is
It is possible to receive C data and distribute NC data to the NC main body 2, as well as external equipment 5 such as a pallet exchange device.
Controls a and 5b can be executed as a series of operations.
また、ホストコンピュータ′3からNCデータを受信せ
ずに、既にメモリに記憶しているNCデータだけでNC
本体2に対して繰返してデータ分配することも可能とな
る。Also, without receiving NC data from the host computer '3, it is possible to perform NC processing using only the NC data already stored in the memory.
It is also possible to repeatedly distribute data to the main body 2.
[発明の効果コ
以上詳述したように本発明は、数値制御データを記憶す
る記憶手段を有したホストコンピュータと工作機械等の
被制御機器を数値制御する数値制御装置本体との間に介
挿され、所定の転送モードで数値制御データを主とする
制御データを相互に転送制御するインターフェース装置
において、上記制御データの転送動作時に制御データに
含まれる特定コードを検出する検出手段と、この検出手
段により特定コードを検出したとき上記被制御機器に関
連した外部機器に上記特定コードに対応した制御データ
を入出力する入出力手段とを具備した構成である。[Effects of the Invention] As described in detail above, the present invention provides a computer that can be inserted between a host computer having a storage means for storing numerical control data and the main body of a numerical control device that numerically controls controlled equipment such as a machine tool. and a detection means for detecting a specific code included in the control data during the transfer operation of the control data; The apparatus is configured to include input/output means for inputting and outputting control data corresponding to the specific code to an external device related to the controlled device when the specific code is detected.
この構成によれば、インタフェース装置の入出力手段に
より外部機器を制御する特定コードを判断するため、N
Cデータの任意の位置に挿入可能であり、また、ホスト
コンピュータはバッジ処理にて入出力手段に外部機器の
制御を委ねることができ、負荷の増大を招くこともなく
、よって、外部機器の制御を、NC本体及びホストコン
ピュータによらずに実行できる数値制御システムのイン
ターフェース装置が提供できるものである。According to this configuration, in order to determine a specific code for controlling an external device using the input/output means of the interface device, N
C data can be inserted at any position, and the host computer can entrust control of external devices to the input/output means through badge processing, without causing an increase in load. It is possible to provide an interface device for a numerical control system that can execute the following without using an NC main body or a host computer.
第1図は本発明にかかる数値制御システムのインターフ
ェース装置の一実施例の構成を示すブロック図、第2図
は本発明の他の実施例の構成を示すブロック図である。
1・・・工作機械、2・・・NC本体、3・・・ホスト
コンピュータ、4・・・インターフニス装置、5a、5
b・・・外部機器、6・・・入出力制御装置。FIG. 1 is a block diagram showing the structure of one embodiment of an interface device for a numerical control system according to the present invention, and FIG. 2 is a block diagram showing the structure of another embodiment of the present invention. DESCRIPTION OF SYMBOLS 1...Machine tool, 2...NC main body, 3...Host computer, 4...Interfinis device, 5a, 5
b...external device, 6...input/output control device.
Claims (1)
ピュータと工作機械等の被制御機器を数値制御する数値
制御装置本体との間に介挿され、所定の転送モードで数
値制御データを主とする制御データを相互に転送制御す
るインターフェース装置において、上記制御データの転
送動作時に制御データに含まれる特定コードを検出する
検出手段と、この検出手段により特定コードを検出した
とき上記被制御機器に関連した外部機器に上記特定コー
ドに対応した制御データを入出力する入出力手段とを具
備したことを特徴とする数値制御システムのインターフ
ェース装置。Control that is inserted between a host computer that has a storage means for storing numerical control data and a numerical control device that numerically controls controlled equipment such as machine tools, and that mainly uses numerical control data in a predetermined transfer mode. In an interface device that mutually controls the transfer of data, a detection means detects a specific code included in the control data during the transfer operation of the control data, and when the detection means detects the specific code, an external An interface device for a numerical control system, characterized in that the device is equipped with an input/output means for inputting/outputting control data corresponding to the specific code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16162786A JPS6318402A (en) | 1986-07-09 | 1986-07-09 | Interface device for numerical control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16162786A JPS6318402A (en) | 1986-07-09 | 1986-07-09 | Interface device for numerical control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6318402A true JPS6318402A (en) | 1988-01-26 |
Family
ID=15738777
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP16162786A Pending JPS6318402A (en) | 1986-07-09 | 1986-07-09 | Interface device for numerical control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6318402A (en) |
-
1986
- 1986-07-09 JP JP16162786A patent/JPS6318402A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR890002437B1 (en) | A numerical control system | |
US20080147206A1 (en) | Control system for Real Time Applications for Cooperative Industrial Robots | |
KR930703773A (en) | DNC System | |
JPH01295355A (en) | Interruption control circuit for multi-master bus | |
JPH01229305A (en) | Numerical controller | |
JPS6318402A (en) | Interface device for numerical control system | |
US10921783B2 (en) | Numerical control device | |
JPS59223807A (en) | Coupling system of numerical controller | |
US5608906A (en) | Multiple-task controller having a plurality of task memory input/output devices, input/output processing device, and a plurality of tasks controlled by external devices | |
EP0620512A1 (en) | Numeric controller | |
JPH02213905A (en) | Input/output control system | |
JP2664492B2 (en) | CNC cooperative operation system | |
KR100221491B1 (en) | Method for controlling dual robot | |
JPH02202604A (en) | External part extending type programmable controller | |
JPS61180310A (en) | Loading system of system control program to numerical controller | |
KR0170266B1 (en) | Multi-robot communication control system | |
EP0553349A4 (en) | Cnc system for controlling a plurality of machines | |
JPS62277249A (en) | Tool controlling device | |
JPH02205903A (en) | Numerical controller for transfer line | |
JPS6314204A (en) | Numerical controller | |
JPH0799487B2 (en) | Communication method in numerical control device | |
JPS6318409A (en) | Numerical control system | |
JPS63250712A (en) | Control device for numerical control working machine | |
JPH11134010A (en) | Program executing method of programmable controller | |
JPS61107401A (en) | Program format converting system between numerical controller and programmable controller for machine tool |