JPH071271A - Numerically controlled machine tool - Google Patents

Numerically controlled machine tool

Info

Publication number
JPH071271A
JPH071271A JP3251692A JP3251692A JPH071271A JP H071271 A JPH071271 A JP H071271A JP 3251692 A JP3251692 A JP 3251692A JP 3251692 A JP3251692 A JP 3251692A JP H071271 A JPH071271 A JP H071271A
Authority
JP
Japan
Prior art keywords
tool
servo motor
data
tool number
indexing
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.)
Withdrawn
Application number
JP3251692A
Other languages
Japanese (ja)
Inventor
Minoru Sugiyama
実 杉山
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.)
NEC Corp
Original Assignee
NEC Corp
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=12361138&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JPH071271(A) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3251692A priority Critical patent/JPH071271A/en
Publication of JPH071271A publication Critical patent/JPH071271A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Automatic Tool Replacement In Machine Tools (AREA)

Abstract

PURPOSE:To perform high speed, high-precise, and programmable conversion of a tool by providing a means to calculate and output positioning data of a servo motor according to a tool converting function order. CONSTITUTION:In a PC executing processing part 4, an indexing direction, in which a servo motor 9 is positioned according to a PC function order, and a positioning amount are calculated by a tool indexing means 6 from a tool number outputted from an NC and an present selected tool number. The calculating result is transferred to an NC data processing part 7 and by controlling the servo motor 9, a tool is converted. Data transferred by the tool indexing means 6 and the operation program of an NC data containing part 2 are processed by an NC processing part 7 and distributed to a servo motor control part 8, and I/O processing is effected between the PC executing part 4 and the NC data processing part. In the servo motor control part 8, a servo motor 9 to effect positioning based on data distributed by the NC data processing part 7 is controlled.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は数値制御工作機械に関
し、特にプログラマブルコントローラが内蔵された数値
制御装置を有する数値制御工作機械に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerically controlled machine tool, and more particularly to a numerically controlled machine tool having a numerical controller having a programmable controller built therein.

【0002】[0002]

【従来の技術】従来の多数本の工具を有する数値制御工
作機械において、工具選択は数値制御装置(NC)から
出力された工具番号によりPCがシーケンス処理を行
い、機械的に工具交換を行っていた。
2. Description of the Related Art In a conventional numerically controlled machine tool having a large number of tools, a PC performs a sequence process for tool selection according to a tool number output from a numerical controller (NC) to mechanically exchange tools. It was

【0003】[0003]

【発明が解決しようとする課題】上述した従来の数値制
御工作機械において、工具交換は、工作機械に工具交換
の為に位置を検出するセンサーや位置決めするための機
構部品を付加しているので、工作機械としてコストアッ
プとなり且つ機構的に複雑でプログラマブルでないとい
う欠点がある。
In the conventional numerically controlled machine tool described above, the tool change is made by adding a sensor for detecting the position and a mechanical part for positioning to the tool change. The machine tool has the disadvantages of increased cost, mechanical complexity, and non-programmability.

【0004】[0004]

【課題を解決するための手段】本発明の数値制御工作機
械は、装着される複数の工具がサーボモータにより位置
決めされる工作機械と、前記サーボモータを制御するN
C装置において、前記NC装置の転送プログラムおよび
ラダープログラムを入力する手段と、前記運転プログラ
ムおよびラダープログラムを格納する手段と、PC実行
部から前記工具を交換する機能命令により前記サーボモ
ータの位置決めデータを算出し出力する手段と、前記デ
ータにより前記サーボモータを制御する手段とを有す
る。
A numerically controlled machine tool according to the present invention is a machine tool in which a plurality of mounted tools are positioned by a servomotor, and N for controlling the servomotor.
In the C device, means for inputting the transfer program and the ladder program of the NC device, means for storing the operation program and the ladder program, and positioning data for the servo motor by a function command for exchanging the tool from the PC execution unit It has means for calculating and outputting and means for controlling the servomotor based on the data.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。図1は本発明の一実施例ブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention.

【0006】入力部1は数値制御装置の運転プログラム
並びにラダープログラムを入力する。NCデータ格納部
2は数値制御装置の運転プログラムを格納する。PCデ
ータ格納部3はラダープログラムを格納する。PC実行
処理部4はラダープログラムに基ずいてNC並びに機械
との間でI/O処理を行う。I/Oインタフェース5
は、PCと機械間に接続される。
The input unit 1 inputs an operation program and a ladder program of the numerical control device. The NC data storage unit 2 stores the operation program of the numerical control device. The PC data storage unit 3 stores the ladder program. The PC execution processing unit 4 performs I / O processing with the NC and the machine based on the ladder program. I / O interface 5
Is connected between the PC and the machine.

【0007】工具割出手段6はPC実行処理部4の中で
NCより出力された工具番号と現在選択されている工具
番号からPCの機能命令によってサーボモータが位置決
めするための割り出す方向と位置決め量を算出し、結果
をNCデータ処理部7に転送することによりサーボモー
タを制御して工具交換を行う。NCデータ処理部7はN
Cデータ格納部2の運転プログラム並びに工具割出手段
6により転送されたデータを処理してサーボモータ制御
部8に分配したり、PC実行処理部4との間でI/O処
理を行う。サーボモータ制御部8はNCデータ処理部7
により分配されたデータに基ずき位置決めをするサーボ
モータ9を制御する。
The tool indexing means 6 determines the indexing direction and the positioning amount for the servo motor to position from the tool number output from the NC in the PC execution processing section 4 and the currently selected tool number by the PC function command. Is calculated and the result is transferred to the NC data processing unit 7 to control the servo motor and perform tool exchange. NC data processing unit 7
The operation program of the C data storage unit 2 and the data transferred by the tool indexing unit 6 are processed and distributed to the servo motor control unit 8, and I / O processing is performed with the PC execution processing unit 4. The servo motor control unit 8 is the NC data processing unit 7.
The servomotor 9 for positioning is controlled based on the data distributed by.

【0008】図2は本実施例の工具割出をするための機
能命令を示す図である。10は工具割出をするための機
能命令(SVROT)であり、11から16はSVRO
T命令のパラメータであり、11は分割総数を指定する
パラメータであり、12は1分間あたりの位置決め量を
NCの最小設定単位で指定するパラメータであり、13
は割出方向を0,1,2で指定するパラメータであり、
0は最短に割出す場合に指定し、1は右回転で割出す場
合に指定し、2は左回転で割出す場合に指定する。14
は選択されている工具番号を格納しておくRAMエリア
を指定するパラメータであり、15は選択されている工
具番号を格納しておくRAMエリアを指定するパラメー
タであり、16は割出しが完了した時に出力するリレー
を指定するパラメータであり、17はSVROT命令が
処理を行うかどうかの条件リレーであり、18はSVR
OT命令のパラメータである11から16までの設定デ
ータに不都合があった場合に出力するリレーである。
FIG. 2 is a diagram showing function commands for indexing tools in this embodiment. 10 is a function command (SVROT) for indexing a tool, and 11 to 16 are SVROT.
A T command parameter, 11 is a parameter for designating the total number of divisions, 12 is a parameter for designating a positioning amount per minute in the minimum setting unit of NC, and 13
Is a parameter that specifies the indexing direction with 0, 1,
Specify 0 for the shortest index, 1 for right rotation, and 2 for left rotation. 14
Is a parameter that specifies the RAM area that stores the selected tool number, 15 is a parameter that specifies the RAM area that stores the selected tool number, and 16 is the indexing completed It is a parameter that specifies a relay to be output at a time, 17 is a condition relay for whether or not the SVROT command performs processing, and 18 is an SVR.
It is a relay that outputs when there is a problem in the setting data from 11 to 16 which are the parameters of the OT command.

【0009】図3は本実施例のSVROT10命令のフ
ローチャートである。17の条件リレーがON状態で処
理を開始する。19は11から16までの全パラメータ
を読み込む処理であり、20は13のパラメータデータ
チェック処理で最短方向割出をする場合に22の処理へ
分岐し、それ以外の場合21の処理へ移る。21は割出
方向が最短方向割出以外の場合のパラメータデータチェ
ック処理で、22は最短方向割出処理であり、23は選
択の工具番号と選択する工具番号のチェック処理で、等
しい場合25の処理へ分岐し、それ以外は24の処理へ
移る。24は選択処理中の工具番号と選択する工具番号
チェック処理であり選択中の工具番号が選択する工具番
号よりも小さい場合に26の処理へ分岐し、それ以外は
27の処理へ移る。
FIG. 3 is a flowchart of the SVROT10 instruction of this embodiment. The processing starts when the condition relay 17 is ON. Reference numeral 19 is a process for reading all parameters from 11 to 16, and 20 is branched to the process of 22 when the shortest direction index is determined in the parameter data check process of 13, and otherwise moved to the process of 21. Reference numeral 21 is a parameter data check process when the indexing direction is other than the shortest direction indexing, 22 is the shortest direction indexing process, and 23 is a check process of the selected tool number and the selected tool number. The process branches to the process, and otherwise the process moves to 24. Reference numeral 24 denotes a tool number being selected and a tool number checking process to be selected. If the selected tool number is smaller than the selected tool number, the process branches to 26, otherwise the process moves to 27.

【0010】25は選択中の工具番号と選択する工具番
号が等しい場合に割出する分割数を“0”と算出する処
理であり、26は選択中の工具番号が選択する工具番号
よりも小さい場合の割出する分割数を算出する処理であ
り、27は選択中の工具番号が選択する工具番号よりも
大きい場合の割出する分割数を算出する処理であり、2
8は26と27で算出された割出する分割数のうち小さ
い方を分割数とするチェック処理であり、29は26と
27の算出結果のうち26が小さい場合、26の算出結
果を分割数とする処理であり、30は26と27の算出
結果のうち27が小さい場合、27の算出結果を分割数
とする処理であり、21は13のパラメータデータチェ
ック処理で右回転方向割出をする場合に32の処理へ分
岐し、左回転方向割出をする場合31の処理へ移る。
25 is a process for calculating the number of divisions to be indexed as "0" when the selected tool number is equal to the selected tool number, and 26 is a smaller tool number than the selected tool number. Is a process of calculating the number of divisions to be indexed, and 27 is a process of calculating the number of divisions to be indexed when the selected tool number is larger than the selected tool number.
8 is a check process in which the smaller division number among the division numbers calculated in 26 and 27 is used as the division number, and 29 is the division number obtained by dividing the calculation result in 26 when 26 is smaller in the calculation results in 26 and 27. 30 is a process in which when 27 of the calculation results of 26 and 27 are small, the calculation result of 27 is used as the number of divisions, and 21 is the right rotation direction index in the parameter data check process of 13. In the case of 32, the process branches to 32, and in the case of left rotation direction indexing, the process proceeds to 31.

【0011】31は割出方向が左回転方向割出の場合の
処理であり、32は割出方向が右回転方向割出の場合の
処理であり、33は選択中の工具番号と選択する工具番
号のチェック処理で、選択中の工具番号が選択する工具
番号よりも大きい場合に34の処理へ分岐し、それ以外
は35の処理へ移る。
Reference numeral 31 is a process when the indexing direction is a left rotation direction index, 32 is a process when the indexing direction is a right rotation direction index, and 33 is a tool number being selected and a tool to be selected. In the number checking process, if the selected tool number is larger than the selected tool number, the process branches to 34, otherwise the process moves to 35.

【0012】34は選択中の工具番号が選択する工具番
号よりも大きい場合に割出する分割数を算出する処理で
あり、35は選択中の工具番号と選択する工具番号が等
しい場合に36の処理へ分岐し、選択中の工具番号が選
択する工具番号よりも小さい場合37へ移る。36は選
択中の工具番号と選択する工具番号が等しい場合、割出
する分割数を“0と算出する処理であり、37は選択中
の工具番号が選択する工具番号よりも小さい場合の割出
する分割数を算出する処理であり38は選択中の工具番
号と選択する工具番号のチェック処理で、選択中の工具
番号が選択する工具番号よりも小さい場合に40の処理
へ分岐し、それ以外は39の処理へ移る。
Reference numeral 34 is a process for calculating the number of divisions to be indexed when the selected tool number is larger than the selected tool number, and 35 is a process for calculating 36 when the selected tool number is equal to the selected tool number. If the tool number being selected is smaller than the selected tool number, the process branches to step 37. 36 is a process for calculating the number of divisions to be indexed as “0” when the selected tool number is equal to the selected tool number, and 37 is an index when the selected tool number is smaller than the selected tool number. 38 is a process for calculating the number of divisions to be performed. 38 is a process for checking the selected tool number and the selected tool number. If the selected tool number is smaller than the selected tool number, the process branches to 40, otherwise. Moves to the processing of 39.

【0013】39は選択中の工具番号と選択する工具番
号が等しい場合に42の処理へ分岐し、選択中の工具番
号が選択する工具番号よりも大きい場合41へ移る。4
0は選択中の工具番号が選択する工具番号よりも小さい
場合に割出する分割数を算出する処理であり、41は選
択中の工具番号が選択する工具番号よりも大きい場合の
割出する分割数を算出する処理であり、42は選択中の
工具番号と選択する工具番号が等しい場合、割出する分
割数を“0”と算出する処理であり、43は算出された
分割数と1分割あたりの位置決め量12によりサーボモ
ータが位置決めするための移動量を算出する処理であ
り、44は43で算出された位置決め量と割出し方向を
NCへ転送する処理である。
If the selected tool number is equal to the selected tool number, 39 branches to the process of 42, and if the selected tool number is larger than the selected tool number, the process moves to 41. Four
0 is a process for calculating the number of divisions to be indexed when the selected tool number is smaller than the selected tool number, and 41 is an indexed division when the selected tool number is larger than the selected tool number. When the tool number being selected is equal to the tool number to be selected, 42 is a process for calculating the number of divisions to be indexed as "0", and 43 is the calculated number of divisions and 1 division. This is a process for calculating the movement amount for the servo motor to perform positioning based on the corresponding positioning amount 12, and 44 is a process for transferring the positioning amount and the indexing direction calculated in 43 to the NC.

【0014】図4は本実施例のSVROT命令によって
工具を選択する工具割出の図である。45は選択されて
いる工具番号14が“2”であることを示す図であり4
6は選択したい工具番号15が“7”であることを示す
図である。45の状態でリレー17がONすることによ
りSVROT命令の処理を開始する。割出方向は割出方
向13が“0”であることにより最短となる方向で算出
をする。選択中の工具番号14が“2”で選択したい工
具番号15が“7”であることから工具番号“1”,
“8”,“7”となる方向を算出する。分割数は3分割
で1分割あたりの位置決め量12を45000とすると
位置決め量は3(分割数)×45000=135000
μmを算出する。算出した割出方向と位置決め量をNC
データ処理部7に転送することにより、選択したい工具
番号“7”の位置に位置決めを行い工具交換を行なう。
FIG. 4 is a diagram of tool indexing for selecting a tool by the SVROT command of this embodiment. 45 is a diagram showing that the selected tool number 14 is "2".
6 is a diagram showing that the tool number 15 desired to be selected is "7". When the relay 17 is turned on in the state of 45, the processing of the SVROT command is started. The indexing direction is calculated as the shortest direction because the indexing direction 13 is "0". Since the selected tool number 14 is “2” and the desired tool number 15 is “7”, the tool number “1”,
The directions of "8" and "7" are calculated. If the number of divisions is 3 and the positioning amount 12 per division is 45000, the positioning amount is 3 (the number of divisions) × 45000 = 15,000.
Calculate μm. NC the calculated indexing direction and positioning amount
By transferring the data to the data processing unit 7, the tool is replaced at the position of the tool number "7" desired to be selected.

【0015】[0015]

【発明の効果】以上説明したように本発明は、プログラ
マブルコントローラの機能命令によって数値制御装置よ
り出力された工具番号と選択中の工具番号とにより位置
決め方向と位置決め量を算出して数値制御装置に指令
し、サーボモータの軸を所定の位置に位置決めすること
により、工具交換の為の位置検出センサーや機構部品を
削減することができ、且つ高速,高精度にプログラマブ
ルに工具交換することができる効果がある。
As described above, according to the present invention, the numerical control device calculates the positioning direction and the positioning amount based on the tool number output from the numerical control device and the selected tool number by the functional instruction of the programmable controller. By commanding and positioning the axis of the servo motor at a predetermined position, it is possible to reduce the number of position detection sensors and mechanical parts for tool replacement, and to perform tool replacement programmatically at high speed and with high accuracy. There is.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明、一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】本実施例の工具割出の機能命令を示す図であ
る。
FIG. 2 is a diagram showing a function command for tool indexing according to the present embodiment.

【図3】本実施例の動作を説明するためのフローチャー
トである。
FIG. 3 is a flowchart for explaining the operation of this embodiment.

【図4】本実施例の工具割出しを示す図である。FIG. 4 is a diagram showing tool indexing according to the present embodiment.

【符号の説明】[Explanation of symbols]

1 データ入力部 2 NCデータ格納部 3 PCデータ格納部 4 PC実行処理部 5 機械I/Oインターフェイス 6 工具割出手段 7 NCデータ処理部 8 サーボモータ制御部 9 サーボモータ 1 Data Input Section 2 NC Data Storage Section 3 PC Data Storage Section 4 PC Execution Processing Section 5 Machine I / O Interface 6 Tool Indexing Means 7 NC Data Processing Section 8 Servo Motor Control Section 9 Servo Motor

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 装着される複数の工具がサーボモータに
より位置決めされる工作機械と、前記サーボモータを制
御するNC装置において、前記NC装置の転送プログラ
ムおよびラダープログラムを入力する手段と、前記運転
プログラムおよびラダープログラムを格納する手段と、
PC実行部から前記工具を交換する機能命令により前記
サーボモータの位置決めデータを算出し出力する手段
と、前記データにより前記サーボモータを制御する手段
とを有することを特徴とする数値制御工作機械。
1. A machine tool in which a plurality of tools to be mounted are positioned by a servo motor, an NC device for controlling the servo motor, a means for inputting a transfer program and a ladder program of the NC device, and the operation program. And means for storing the ladder program,
A numerically controlled machine tool comprising means for calculating and outputting positioning data of the servo motor according to a function command for exchanging the tool from a PC execution unit, and means for controlling the servo motor by the data.
JP3251692A 1992-02-20 1992-02-20 Numerically controlled machine tool Withdrawn JPH071271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3251692A JPH071271A (en) 1992-02-20 1992-02-20 Numerically controlled machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3251692A JPH071271A (en) 1992-02-20 1992-02-20 Numerically controlled machine tool

Publications (1)

Publication Number Publication Date
JPH071271A true JPH071271A (en) 1995-01-06

Family

ID=12361138

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3251692A Withdrawn JPH071271A (en) 1992-02-20 1992-02-20 Numerically controlled machine tool

Country Status (1)

Country Link
JP (1) JPH071271A (en)

Similar Documents

Publication Publication Date Title
JP5414948B1 (en) Numerical controller
EP3376322A2 (en) Control system, controller, and control method
JP2935706B2 (en) Machining program correction method
CN106886197B (en) Method for controlling machine to implement machining, device and application thereof
US5298843A (en) Method for restarting punch press machine and numerical controller
US7574267B2 (en) Controller for a machine-tool or production machine
JP2009509780A (en) Methods for optimization of machining processes in machines
CN106886195B (en) Machining control method, device and application thereof
WO2017101700A1 (en) Computer aided manufacturing method, device and system in direct communication with numerical control system
JPH071271A (en) Numerically controlled machine tool
JPH07104813A (en) Numerical controller
JP2619520B2 (en) Numerical controller for transfer machine
JP2852986B2 (en) Processing system
JPH0630011B2 (en) Numerical control Machining restart control method
Barnes et al. The g-code file
JP2733225B2 (en) NC equipment
JPS63239511A (en) Robot system
Grégoire Putting Intelligence in the CNC
JP2642451B2 (en) Numerical control unit
KR100398004B1 (en) Method for g-code generation of numerical control type machine tool
JPH01184506A (en) System for interpolating pulse with high accuracy
JP2002091526A (en) Numerical controller
JP3195646B2 (en) Motor drive control device
JPH0695720A (en) Numerical control system
JPH0655412A (en) Pitch error correcting method for machine tool

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990518