JPS62174805A - Numerical control system - Google Patents
Numerical control systemInfo
- Publication number
- JPS62174805A JPS62174805A JP1715886A JP1715886A JPS62174805A JP S62174805 A JPS62174805 A JP S62174805A JP 1715886 A JP1715886 A JP 1715886A JP 1715886 A JP1715886 A JP 1715886A JP S62174805 A JPS62174805 A JP S62174805A
- Authority
- JP
- Japan
- Prior art keywords
- control
- subprogram
- set value
- machining program
- executing
- 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
- 238000000034 method Methods 0.000 claims abstract description 19
- 230000008569 process Effects 0.000 claims abstract description 13
- 230000008859 change Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 235000006732 Torreya nucifera Nutrition 0.000 description 1
- 244000111306 Torreya nucifera Species 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003754 machining Methods 0.000 description 1
Landscapes
- Numerical Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は数値制御方式に関し、特に加工プログラムなら
びにサブプログラムに従って数値制御処理を行い、その
処理データに基づいて工作機械を制御する数値制御方式
の改良に関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a numerical control method, and in particular to a numerical control method that performs numerical control processing according to a machining program and subprograms and controls a machine tool based on the processed data. Regarding improvements.
従来、この種の数値制御方式においては、所定の加工プ
ログラムまたはサブプログラムに基づいて数値制御処理
を実行し、その処理データに基づいて工作機械を制御す
る過程において、例えばリセット等により数値制御作用
が中断される場合、数値制御装置の制御設定値としては
、最後に実行された加工プログラムまたはサブプログラ
ムのブロックまでの制御設定値、またはリセット時固有
の制御設定値のままで前記数値制御作用が停止される。Conventionally, in this type of numerical control method, numerical control processing is executed based on a predetermined machining program or subprogram, and in the process of controlling the machine tool based on the processed data, the numerical control action is performed by, for example, resetting. In the case of interruption, the numerical control action is stopped with the control setting values of the numerical control device up to the last executed machining program or subprogram block, or the control setting values specific to the time of reset. be done.
上述した従来の数値制御方式においては、所定の加工プ
ログラムまたはサブプログラムに基づいて数値制御処理
を実行し、その処理データに基づいて工作機械を制御す
る過程において、例えばリセッ)Kよ多数値制御装置が
リセット状態に置かれる場合、前記数値制御装置におけ
る制御設定値は、最後に実行された加工プログラムまた
はサブプログラムのブロックまでの制御設定値、または
リセット時固有の制御設定値のままに維持されているた
め、再度、加工プログラムまたはサブプログラムに基づ
いて数値制御処理を実行する時点においては、その前に
、マニュアルデータ入力運転により、前記制御設定値を
所定値に変更するか、または加工プログラムの先頭に、
制御設定値を変更する命令をあらかじめ追加しておく必
要がある。In the conventional numerical control method described above, in the process of executing numerical control processing based on a predetermined machining program or subprogram and controlling the machine tool based on the processed data, for example, reset) is placed in a reset state, the control settings in the numerical control device are maintained at the control settings up to the last executed machining program or subprogram block, or at the control settings specific to the time of reset. Therefore, before executing the numerical control process again based on the machining program or subprogram, the control setting value must be changed to a predetermined value by manual data input operation, or the beginning of the machining program must be changed. To,
It is necessary to add an instruction to change the control setting value in advance.
例えば、自動工具変換を行うプログラムを呼出して実行
する場合、準備機能であるG指令によシ切削送〕から早
送シに切替えて移動体を工具交換位置に移動し、シング
ルブロック抑制、各種制御設定値の読出しと書込み、機
械側信号の入出力制御および制御設定値の制御等が実行
される。このため、自動工具交換の制御過程においてリ
セットされると、前記制御設定値の情報は指令された状
態か、あるいはリセット時固有の値に設定されるので、
本来は切削送シで移動すべき指令が早送りで動いたシ、
シングルブロックを抑制されて1ブロック実行して停止
しない等の不具合を生じるという欠点がある。さらに、
加工プログラムにおける拡張言語等においては、特殊な
設定命令も存在するため、使用者自身が元の設定状態に
戻すためKは、加工プログラムについて相当レベルの知
識を要求されるという欠点がある。For example, when calling and executing a program that performs automatic tool conversion, the G command, which is a preparatory function, switches from [cutting feed] to rapid traverse to move the moving body to the tool exchange position, suppress single blocks, and perform various controls. Reading and writing of set values, input/output control of machine side signals, control of control set values, etc. are executed. Therefore, when a reset is made in the automatic tool change control process, the control setting value information is set to the commanded state or to a value specific to the time of reset.
The command that should normally be moved by cutting feed was moved by rapid traverse,
There is a drawback that a single block is suppressed, resulting in problems such as execution of one block and not stopping. moreover,
Since there are special setting commands in the extended language of the machining program, K has the disadvantage that a considerable level of knowledge about the machining program is required in order for the user to restore the original setting state.
本発明の数値制御方式は、所定の加工プログラムならび
にサブプログラムに従って、所定の演算制御部において
数値制御処理を実行し、その処理データに基づいて工作
機械を制御する数値制御装置において、前記加工プログ
ラム開始時および前記サブプログラム実行の直前におけ
る制御設定値をそれぞれ記憶する設定値記憶手段と、前
記加工プログラムの実行過程、または前記加工プログラ
ムを中断して前記サブプログラムを呼出して実行してい
る過程において、リセットまたは非常停止等の指令入力
時に、前記設定値記憶手段よりそれぞれ対応する制御設
定値を読出して前記演算制御部に入力するように制御す
る設定値読出し制御手段と、を備えている。The numerical control method of the present invention executes numerical control processing in a predetermined arithmetic control section according to a predetermined machining program and subprograms, and starts the machining program in a numerical control device that controls a machine tool based on the processed data. and setting value storage means for storing control setting values immediately before and immediately before execution of the subprogram; and in the process of executing the machining program, or in the process of interrupting the machining program and calling and executing the subprogram, The apparatus further includes a set value read control means for controlling such that when a command such as a reset or an emergency stop is input, the corresponding control set values are read from the set value storage means and input to the arithmetic control section.
次に1本発明について図面を参照して説明する。 Next, one embodiment of the present invention will be explained with reference to the drawings.
第1図は、本発明の一実施例の要部を示すブロック図で
ある。第1図に示されるように、本実施例は、演算制御
部1と、演算制御部1に含まれる設定値読出し制御部2
と、入出力制御部3,9と、プログラム記憶部4と、設
定値記憶部5と、サーボモータ6.7.8と、を備えて
いる。FIG. 1 is a block diagram showing the main parts of an embodiment of the present invention. As shown in FIG.
, input/output control sections 3 and 9, a program storage section 4, a set value storage section 5, and a servo motor 6.7.8.
第1図において、正常運用時においては、プログラム記
憶部4に格納されている加工プログラムが1ブロツクず
つ読出されて演算制御部1に入力され、演算処理部1に
おいて所定の数値制御処理が実行されて、工作機械にお
けるテーブル等の移動体を駆動するための制御信号が、
所定のX、YおよびZの各軸に対応して、それぞれサー
ボモータ6.7および8に出力される。また、工作機械
の機械側との入出力信号104の制御も入出力制御部9
を介して行われる。In FIG. 1, during normal operation, the machining program stored in the program storage section 4 is read out one block at a time and input to the arithmetic control section 1, and the arithmetic processing section 1 executes a predetermined numerical control process. Therefore, the control signal for driving a moving object such as a table in a machine tool is
The signals are output to servo motors 6.7 and 8 in correspondence with the predetermined X, Y, and Z axes, respectively. The input/output control section 9 also controls input/output signals 104 to and from the machine side of the machine tool.
It is done through.
前記正常運用時において、加工プログラム中の工具交換
指令、または入出力制御部3を介して演算制御部1に入
力される工具寿命による工具交換の割込信号101等の
介入によシ、前記加工プログラムは中断され、工具交換
のサブプログラムがプログラム記憶部4から呼出されて
実行される。During the normal operation, the machining is performed by a tool change command in the machining program or by an intervention such as a tool change interrupt signal 101 due to tool life inputted to the arithmetic control unit 1 via the input/output control unit 3. The program is interrupted, and the tool exchange subprogram is called from the program storage section 4 and executed.
この場合、前記サブプログラム実行直前の制御設定値は
、設定値記憶部5に送られて記憶される。In this case, the control setting values immediately before the execution of the subprogram are sent to the setting value storage section 5 and stored therein.
仮に、このサブプログラム実行中の過程において、リセ
ット信号102が入出力制御部3を介して演算制御部1
1I′c入力されると、演算制御部1における加工用の
制御設定値は、ブロックの実行が行われなくても設定値
読出し制御部2から設定値記憶部5に送られる読出し制
御信号103を介して、自動的に設定値記憶部5から読
出される前記サブプログラム実行直前の制御設定値に復
帰設定される。Suppose that during the process of executing this subprogram, the reset signal 102 is sent to the arithmetic control unit 1 via the input/output control unit 3.
When 1I'c is input, the processing control setting value in the arithmetic control section 1 receives the readout control signal 103 sent from the setting value readout control section 2 to the setting value storage section 5 even if the block is not executed. The control settings are automatically returned to the control settings immediately before execution of the subprogram, which are read from the settings storage section 5.
第2図に示されるのは本発明の数値制御方式における、
加工プログラムならびにサブプログラムの実行フローの
一例を示す図である。加ニブログ2ム0ala2a3a
4の実行過程において、自動工具交換指令Tb1b2に
対応するサブプログラムQc1c2csCaが呼出され
る。サブプログラム0clc4c3c4の実行開始時に
おいて、制御指定値を設定値記憶部5に記憶させる命令
が+1=42である。サブプログラム0clc2c3c
4の最終ブロックには、前記制御設定値を演算制御部1
に戻すための指令+2=#1が置かれており、M99指
令により加工プログラムの続きが実行される。また、割
込信号が発生した場合も同様で、サブプログラム0d1
d2d3d4が呼出されて実行されるが、上述のサブプ
ログラム0clc2c3c4の場合と同様に、冒頭に前
記+1−42の命令が置かれ、最後のブロックに前記+
2=41の命令が置かれている。異なる点は、0950
指令によシ加工プログラムに戻ることである。なお、M
2O;は加工プログラムの終止命令である。FIG. 2 shows the numerical control method of the present invention.
It is a figure which shows an example of the execution flow of a machining program and a subprogram. Canada blog 2mu0ala2a3a
4, the subprogram Qc1c2csCa corresponding to the automatic tool change command Tb1b2 is called. At the start of execution of the subprogram 0clc4c3c4, the command to store the control designation value in the setting value storage unit 5 is +1=42. Subprogram 0clc2c3c
In the final block of No. 4, the control setting value is calculated by the calculation control section 1.
A command +2=#1 is placed to return to , and the continuation of the machining program is executed by the M99 command. The same applies when an interrupt signal occurs, and the subprogram 0d1
d2d3d4 is called and executed, but as in the case of the subprogram 0clc2c3c4 mentioned above, the instructions +1-42 are placed at the beginning, and the +1-42 instructions are placed in the last block.
2=41 instructions are placed. The difference is 0950
The command is to return to the machining program. In addition, M
2O; is a command to terminate the machining program.
以上説明したように、本発明は、所定の加工プログラム
の実行過程、または前記加工プログラム分中断して前記
サブプログラムを呼出して実行している過程において、
リセットまたは非常停止等の指令入力時に、前記加工プ
ログラムの開始時および前記サブプログラム実行の直前
における制御設定値を、自動的に演算制御部に戻して設
定することにより、数値制御装置の使用者におい′Cは
、リセット時等においても、制御設定値の改訂等につき
何らの考慮を払う必要がなく、装置の操作性を向上させ
るとともに誤操作を低減することができるという効果が
ある。As explained above, in the process of executing a predetermined machining program, or in the process of interrupting the machining program and calling and executing the subprogram,
When a command such as a reset or an emergency stop is input, the control setting values at the start of the machining program and immediately before the execution of the subprogram are automatically returned to the arithmetic control section and set, thereby making it easier for the user of the numerical control device. 'C has the effect that there is no need to take any consideration into revising the control setting values, etc. even at the time of resetting, etc., and it is possible to improve the operability of the device and reduce erroneous operations.
第1図は本発明の一実施例の要部を示すブロック図、第
2図は動作説明にかかわるプログラムの一例の説明図で
ある。
図において、1・・・・・・演算制御部、2・・・・・
・設定値読出し制御部、3.9・・・・・・入出力制御
部、4・・・・・・プログラム記憶部、5・・・・・・
設定値記憶部、6,7゜8・・・・・・サーボモータ。
一〇−−
3、 ’/ −一一人士〃刺御部 1.7.1−一一
ナー「モーフ第 1 図
茅 2 図FIG. 1 is a block diagram showing a main part of an embodiment of the present invention, and FIG. 2 is an explanatory diagram of an example of a program related to operation explanation. In the figure, 1... arithmetic control section, 2...
・Setting value reading control section, 3.9... Input/output control section, 4... Program storage section, 5...
Setting value storage section, 6,7°8... Servo motor. 10-- 3, '/-Eleven Master Sashigobe 1.7.1-Elevenner "Morph No. 1 Figure Kaya 2 Figure
Claims (1)
、所定の演算制御部において数値制御処理を実行し、そ
の処理データに基づいて工作機械を制御する数値制御装
置において、前記加工プログラム開始時および前記サブ
プログラム実行の直前における制御設定値をそれぞれ記
憶する設定値記憶手段と、前記加工プログラムの実行過
程、または前記加工プログラムを中断して前記サブプロ
グラムを呼出して実行している過程において、リセット
または非常停止等の指令入力時に、前記設定値記憶手段
よりそれぞれ対応する制御設定値を読出して前記演算制
御部に入力するように制御する設定値読出し制御手段と
、を備えることを特徴とする数値制御方式。In a numerical control device that executes numerical control processing in a predetermined arithmetic control unit according to a predetermined machining program and subprograms and controls a machine tool based on the processed data, at the start of the machining program and immediately before execution of the subprogram. a set value storage means for storing control set values, respectively; and input of commands such as reset or emergency stop during the process of executing the machining program, or in the process of interrupting the machining program and calling and executing the subprogram. A numerical control system characterized by comprising: a set value read control means for controlling the control set value to read corresponding control set values from the set value storage means and input them to the arithmetic control section.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1715886A JPS62174805A (en) | 1986-01-28 | 1986-01-28 | Numerical control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1715886A JPS62174805A (en) | 1986-01-28 | 1986-01-28 | Numerical control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62174805A true JPS62174805A (en) | 1987-07-31 |
Family
ID=11936164
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1715886A Pending JPS62174805A (en) | 1986-01-28 | 1986-01-28 | Numerical control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62174805A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006263818A (en) * | 2005-02-25 | 2006-10-05 | Showa Denko Kk | Chuck device |
-
1986
- 1986-01-28 JP JP1715886A patent/JPS62174805A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006263818A (en) * | 2005-02-25 | 2006-10-05 | Showa Denko Kk | Chuck device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3671020B2 (en) | Numerical controller | |
JP4374045B2 (en) | Numerical control device with program restart function | |
EP0002750A1 (en) | Computerized numerical controller for a machine tool | |
JP5172990B2 (en) | Numerical control device with operation function based on table format data | |
WO2003067345A1 (en) | Numeric control method and numeric control system | |
US20160062336A1 (en) | Numerical controller for facilitating adjustment of machining motion | |
JPH02155004A (en) | Working program correcting system | |
JP5893527B2 (en) | Numerical control device with a function to display the difference between machining interruption and resumption status | |
JP3512559B2 (en) | Numerical control unit | |
JPS62174805A (en) | Numerical control system | |
US4839817A (en) | Numerically controlled apparatus including shunting controller | |
JPH0370242B2 (en) | ||
JP2702555B2 (en) | Numerical control unit reordering method | |
JPS63311408A (en) | Numerical controller | |
JPH02151909A (en) | Control device for industrial machine | |
JPH055123B2 (en) | ||
JP3460747B2 (en) | Numerical control unit | |
JPS6240722B2 (en) | ||
JP4208600B2 (en) | NC machine tool | |
JP2556963Y2 (en) | Numerical control unit | |
JPH05241645A (en) | Test operation control system | |
JPS6119380B2 (en) | ||
JP2959601B2 (en) | Numerical control unit | |
JPS61260304A (en) | Numerical controller | |
JPS63250705A (en) | Numerical controller |