JPH1091224A - Numerical control device - Google Patents
Numerical control deviceInfo
- Publication number
- JPH1091224A JPH1091224A JP24359696A JP24359696A JPH1091224A JP H1091224 A JPH1091224 A JP H1091224A JP 24359696 A JP24359696 A JP 24359696A JP 24359696 A JP24359696 A JP 24359696A JP H1091224 A JPH1091224 A JP H1091224A
- Authority
- JP
- Japan
- Prior art keywords
- machine control
- command
- control command
- machine
- unit
- 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
Landscapes
- Numerical Control (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、数値制御装置に関
する。[0001] The present invention relates to a numerical control device.
【0002】[0002]
【従来の技術】工作機械を動作させるため、軸移動指
令、主軸回転指令や切削液のON/OFF制御等の機械
制御指令を記述した加工プログラムがある。NC処理部
は、この加工プログラムを読み込み軸移動指令に従って
工作機械に取り付けられたモーターを駆動したり、主軸
回転指令や切削液のON/OFF制御等の機械制御指令
をシーケンス制御部へ指令する。機械制御指令を受けた
シーケンス制御部は、工作機械メーカーによって作成さ
れたシーケンスプログラムに従って機械制御指令を処理
して、主軸ギアの選択や切削液モーターのON/OFF
などのI/O制御を行なう。2. Description of the Related Art In order to operate a machine tool, there is a machining program that describes a machine control command such as an axis movement command, a spindle rotation command, and ON / OFF control of a cutting fluid. The NC processing unit reads the machining program, drives a motor attached to the machine tool in accordance with the axis movement command, and issues a machine control command such as a spindle rotation command and ON / OFF control of a cutting fluid to the sequence control unit. Upon receiving the machine control command, the sequence control unit processes the machine control command according to the sequence program created by the machine tool maker to select a spindle gear and to turn on / off the cutting fluid motor.
And the like.
【0003】以下、従来の技術の実施例を図面を用いて
具体的に説明する。図3は、従来の数値制御装置の一例
を示すブロック図である。図3において、1は数値制御
装置、2は工作機械である。数値制御装置1は数値制御
部10とシーケンス処理部11からなり、数値制御部1
0は機械制御指令を受けとり数値制御処理を行なうNC
処理部10Aを具備し、シーケンス制御部11はシーケ
ンスプログラムに従って機械制御指令を処理実行するも
のである。このような構成において、その動作例を説明
する。まず、NC処理部10Aは機械制御指令MDと軸
移動指令SD等を受けとり、工作機械2に対して動作制
御指令NCSDを送出して軸移動などの数値制御処理を
行なうと共に、機械制御指令MDをシーケンス制御部1
1へと送る。そして、機械制御指令MDを受けとったシ
ーケンス制御部11は、シーケンスプログラムに従って
受けとった機械制御指令MDに対する制御信号SPMD
を生成して送出し、工作機械2についてI/O制御処理
を行なう。Hereinafter, embodiments of the prior art will be specifically described with reference to the drawings. FIG. 3 is a block diagram showing an example of a conventional numerical control device. In FIG. 3, 1 is a numerical control device, and 2 is a machine tool. The numerical control device 1 includes a numerical control unit 10 and a sequence processing unit 11, and the numerical control unit 1
0: NC that receives a machine control command and performs numerical control processing
It has a processing unit 10A, and the sequence control unit 11 processes and executes machine control commands according to a sequence program. An operation example of such a configuration will be described. First, the NC processing unit 10A receives a machine control command MD, an axis movement command SD, and the like, sends an operation control command NCSD to the machine tool 2, performs numerical control processing such as axis movement, and transmits the machine control command MD. Sequence control unit 1
Send to 1. Then, the sequence control unit 11 that has received the machine control command MD generates a control signal SPMD corresponding to the machine control command MD received according to the sequence program.
Is generated and transmitted, and I / O control processing is performed on the machine tool 2.
【0004】[0004]
【発明が解決しようとする課題】工作機械メーカーが任
意の機械制御指令を任意の機械動作に使用する事を考え
た場合、上述した数値制御装置では、加工プログラムか
ら指令された機械制御指令の中には、数値制御を実行す
るNC処理部で、数値制御装置メーカーによって一部固
定的に使用されているものがあり(例えばMコードに於
いては一時停止:M00、主軸回転:M03など)、工
作機械メーカーは全ての機械制御指令について任意の機
械動作に使用することができないという問題があった。
また、NC処理部で固定的な使用がされていない機械制
御指令であっても、NC処理部によって自動発生しシー
ケンス処理実行部へ指令される機械制御指令があり、こ
の場合の機械制御指令についても工作機械メーカーが任
意の機械動作の機械制御指令とすることはできなかっ
た。When a machine tool maker considers using an arbitrary machine control command for an arbitrary machine operation, the above-described numerical control device uses the machine control command specified by the machining program. There is an NC processing unit that executes numerical control, which is partially fixedly used by a numerical control device maker (for example, in M code, pause: M00, spindle rotation: M03, etc.), There is a problem that a machine tool maker cannot use all machine control commands for arbitrary machine operations.
Further, even if the machine control command is not fixedly used by the NC processing unit, there is a machine control command automatically generated by the NC processing unit and commanded to the sequence processing execution unit. Even the machine tool maker could not set a machine control command for arbitrary machine operation.
【0005】本発明は上述した事情から成されたもので
あり、本発明の目的は、数値制御装置メーカーによって
一部固定的に使用されている機械制御指令など、数値制
御装置内部で独自に使用されている機械制御指令を意識
することなく、工作機械メーカーが任意の機械制御指令
を任意の機械動作に使用することができる数値制御装置
を提供することにある。The present invention has been made in view of the circumstances described above, and an object of the present invention is to provide a method for independently using a machine control command, which is partially used by a numerical control device manufacturer, inside a numerical control device. It is an object of the present invention to provide a numerical control device that allows a machine tool maker to use an arbitrary machine control command for an arbitrary machine operation without being conscious of a given machine control command.
【0006】[0006]
【課題を解決するための手段】本発明は数値制御装置に
関するものであり、本発明の上記目的は、加工プログラ
ムより読み込まれる機械制御指令とNC処理部で使用す
る機械制御機能指令とを対応付けた変換情報を記憶する
機械制御指令データ記憶部と、加工プログラムより読み
込まれる機械制御指令を、前記機械制御指令データ記憶
部の変換情報に基づき、NC処理部で使用する機械制御
機能指令へと変換する機械制御指令変換部と、NC処理
部から機械制御機能指令を受けとり前記機械制御指令デ
ータ記憶部の変換情報に基づき、シーケンス制御部で使
用する機械制御指令へと再変換する機械制御指令逆変換
部と、を備えることによって構成される。SUMMARY OF THE INVENTION The present invention relates to a numerical controller, and an object of the present invention is to associate a machine control command read from a machining program with a machine control function command used in an NC processing unit. A machine control command data storage unit for storing the converted information, and converting a machine control command read from the machining program into a machine control function command used in the NC processing unit based on the conversion information in the machine control command data storage unit. Machine control command conversion unit for receiving a machine control function command from the NC processing unit and converting the machine control command into a machine control command to be used in the sequence control unit based on the conversion information in the machine control command data storage unit And a unit.
【0007】[0007]
【発明の実施の形態】以下、本発明の実施例を図面を用
いて具体的に説明する。図1は、本発明の数値制御装置
の一実施例を示すブロック図である。図1において、1
は数値制御装置,2は工作機械である。数値制御装置1
は数値制御部10とシーケンス制御部11からなり、数
値制御部10は機械制御機能指令を受けとり数値制御処
理を行なうNC処理部10A、機械制御指令と機械制御
機能指令の変換情報を記憶する機械制御指令データ記憶
部10B、機械制御指令を受けとり機械制御機能指令へ
と変換する機械制御指令変換部10C、機械制御機能指
令を受けとり機械制御指令へと逆変換を行なう機械制御
指令逆変換部10Dを具備し、シーケンス制御部11は
シーケンスプログラムに従って機械制御指令を処理実行
するものである。DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a numerical control device according to the present invention. In FIG. 1, 1
Is a numerical control device, and 2 is a machine tool. Numerical control device 1
Is composed of a numerical control unit 10 and a sequence control unit 11. The numerical control unit 10 receives a machine control function command and performs a numerical control process. An NC processing unit 10A, and stores a machine control command and conversion information of the machine control function command. A command data storage unit 10B, a machine control command conversion unit 10C that receives a machine control command and converts it into a machine control function command, and a machine control command reverse conversion unit 10D that receives the machine control function command and performs reverse conversion to the machine control command. The sequence control unit 11 executes and executes a machine control command according to a sequence program.
【0008】このような構成において、その動作例を説
明する。まず、機械制御指令変換部10Cは加工プログ
ラムから軸移動指令SDや機械制御指令MD等からなる
動作指令を受けとり、機械制御指令MDがあれば機械制
御指令データ記憶部10Bの変換情報MCIに基づいて
機械制御機能指令MDfへと変換する。ここで機械制御
指令データ記憶部10Bの変換情報MCIの一例として
図2のようなものがある。図2は機械制御指令と機械制
御機能指令が対応づけされた変換情報であり、加工プロ
グラムから機械制御指令MDとして例えばM01を受け
とると、機械制御機能指令MDfとしてM04へと変換
する。その機械制御機能指令MDfを軸移動指令SD等
と共にNC処理部10Aへと送る。An operation example of such a configuration will be described. First, the machine control command conversion unit 10C receives an operation command including an axis movement command SD and a machine control command MD from the machining program, and if there is a machine control command MD, based on the conversion information MCI in the machine control command data storage unit 10B. It is converted into a machine control function command MDf. FIG. 2 shows an example of the conversion information MCI in the machine control command data storage unit 10B. FIG. 2 shows conversion information in which a machine control command and a machine control function command are associated with each other. When a machine control command MD, for example, M01 is received from a machining program, it is converted into a machine control function command MDf into M04. The machine control function command MDf is sent to the NC processing unit 10A together with the axis movement command SD and the like.
【0009】次に、NC処理部10Aは機械制御機能指
令MDfと軸移動指令SD等を受けとり、工作機械2に
対して動作制御指令NCSDを送出して軸移動などの数
値制御処理を行うと共に、機械制御機能指令MDfを機
械制御指令逆変換部10Dへと送る。この時、NC処理
部10A内部で自動発生した機械制御機能指令MDfが
あるならば、同様にして機械制御指令逆変換部10Dへ
と送る。そして、機械制御機能指令MDfを受けとった
機械制御指令逆変換部10Dは、機械制御指令データ記
憶部10Bの変換情報MCIに基づいて機械制御指令M
Dへと逆変換を行なう。図2の例によれば、機械制御指
令変換部10Cで変換されたM04は、再びM01へと
逆変換される。この時点で機械制御指令MDは加工プロ
グラムから指令されたものに戻り、シーケンス制御部1
1へと送られる。最後に、機械制御指令MDを受けとっ
たシーケンス制御部11は、シーケンスプログラムに従
って受けとった機械制御指令MDに対する制御信号SP
MDを生成して送出し、工作機械2についてI/O制御
処理を行なう。Next, the NC processing unit 10A receives the machine control function command MDf, the axis movement command SD, etc., sends an operation control command NCSD to the machine tool 2, and performs numerical control processing such as axis movement. The machine control function command MDf is sent to the machine control command reverse conversion unit 10D. At this time, if there is a machine control function command MDf automatically generated inside the NC processing unit 10A, it is similarly sent to the machine control command reverse conversion unit 10D. Then, the machine control command reverse conversion unit 10D receiving the machine control function command MDf converts the machine control command Mf based on the conversion information MCI of the machine control command data storage unit 10B.
Inverse conversion to D is performed. According to the example of FIG. 2, M04 converted by the machine control command conversion unit 10C is again converted back to M01. At this point, the machine control command MD returns to the command from the machining program, and the sequence control unit 1
Sent to 1. Finally, the sequence control unit 11 that has received the machine control command MD generates a control signal SP corresponding to the machine control command MD received according to the sequence program.
An MD is generated and transmitted, and I / O control processing is performed on the machine tool 2.
【0010】[0010]
【発明の効果】以上のように本発明の数値制御装置によ
れば、数値制御装置メーカーによって一部固定的に使用
されている機械制御指令を意識すること無く、工作機械
メーカーは任意の機械制御指令を任意の機械動作に使用
可能となるため、工作機械メーカーは独自の特徴を持つ
機械制御指令を備えた数値制御装置を容易に実現するこ
とができる。As described above, according to the numerical controller of the present invention, the machine tool maker can select any machine control without being conscious of the machine control commands partially used by the numerical controller maker. Since the command can be used for any machine operation, a machine tool maker can easily realize a numerical control device having a machine control command having unique features.
【図1】本発明の数値制御装置の一実施例を示すブロッ
ク図である。FIG. 1 is a block diagram showing an embodiment of a numerical controller according to the present invention.
【図2】機械制御指令データ記憶部の変換情報の一例を
示す図である。FIG. 2 is a diagram illustrating an example of conversion information in a machine control command data storage unit.
【図3】従来の数値制御装置の一例を示すブロック図で
ある。FIG. 3 is a block diagram illustrating an example of a conventional numerical control device.
1 数値制御装置 10 数値制御部 10A NC処理部 10B 機械制御指令データ記憶部 10C 機械制御指令変換部 10D 機械制御指令逆変換部 11 シーケンス制御部 Reference Signs List 1 Numerical control device 10 Numerical control unit 10A NC processing unit 10B Machine control command data storage unit 10C Machine control command conversion unit 10D Machine control command reverse conversion unit 11 Sequence control unit
Claims (1)
御指令とNC処理部で使用する機械制御機能指令とを対
応付けた変換情報を記憶する機械制御指令データ記憶部
と、加工プログラムより読み込まれる機械制御指令を、
前記機械制御指令データ記憶部の変換情報に基づき、N
C処理部で使用する機械制御機能指令へと変換する機械
制御指令変換部と、NC処理部から機械制御機能指令を
受けとり前記機械制御指令データ記憶部の変換情報に基
づき、シーケンス制御部で使用する機械制御指令へと再
変換する機械制御指令逆変換部と、を備えたことを特徴
とする数値制御装置。1. A machine control command data storage unit for storing conversion information in which a machine control command read from a machining program is associated with a machine control function command used in an NC processing unit, and a machine control command read from the machining program. To
Based on the conversion information in the machine control command data storage unit, N
A machine control command conversion unit for converting into a machine control function command to be used in the C processing unit; and a machine control function command received from the NC processing unit and used by the sequence control unit based on the conversion information in the machine control command data storage unit. A numerical control device, comprising: a machine control command reverse conversion unit that reconverts to a machine control command.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24359696A JPH1091224A (en) | 1996-09-13 | 1996-09-13 | Numerical control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24359696A JPH1091224A (en) | 1996-09-13 | 1996-09-13 | Numerical control device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH1091224A true JPH1091224A (en) | 1998-04-10 |
Family
ID=17106176
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP24359696A Pending JPH1091224A (en) | 1996-09-13 | 1996-09-13 | Numerical control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH1091224A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100375938C (en) * | 2003-04-11 | 2008-03-19 | 发那科株式会社 | Controller for machinery |
-
1996
- 1996-09-13 JP JP24359696A patent/JPH1091224A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100375938C (en) * | 2003-04-11 | 2008-03-19 | 发那科株式会社 | Controller for machinery |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4348623A (en) | Numerical control system for controlling both a machine tool and a robot | |
JPS5822412A (en) | Industrial robot control system | |
US4396987A (en) | Machine tool and robot control apparatus | |
JPS5822411A (en) | Industrial robot control system | |
WO1988008559A1 (en) | Numerical control device | |
US6249711B1 (en) | Programmable logical controller | |
WO1986000726A1 (en) | Numerical control system | |
KR920004080B1 (en) | Numerical control device | |
WO1984003367A1 (en) | Numerical control system | |
JPH1091224A (en) | Numerical control device | |
US6397123B1 (en) | Numerical control apparatus | |
US5901282A (en) | Back-up method for firmware information | |
JPH09244727A (en) | Method for operating man machine interface for cnc device | |
US4090120A (en) | Method and means for controlling energization by commands | |
JPH05274021A (en) | Machining system | |
JP3092744B2 (en) | Processing system | |
CN100375938C (en) | Controller for machinery | |
JPH1074106A (en) | Numerical controller | |
JPH11231923A (en) | Numerical controller | |
JPH01276209A (en) | Numerical controller | |
JPH0336606A (en) | Numerical controller | |
WO2021256346A1 (en) | Control device having tool setting management function, control system, and tool | |
JP2875801B2 (en) | DNC equipment | |
JPH04100122A (en) | Nc working program executing device | |
JPS6252606A (en) | Numerical controller |