JPS61260304A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPS61260304A
JPS61260304A JP10144185A JP10144185A JPS61260304A JP S61260304 A JPS61260304 A JP S61260304A JP 10144185 A JP10144185 A JP 10144185A JP 10144185 A JP10144185 A JP 10144185A JP S61260304 A JPS61260304 A JP S61260304A
Authority
JP
Japan
Prior art keywords
command
control
commands
circuit
machine tool
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
JP10144185A
Other languages
Japanese (ja)
Inventor
Kiyoshi Kuchiki
朽木 清
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP10144185A priority Critical patent/JPS61260304A/en
Publication of JPS61260304A publication Critical patent/JPS61260304A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To obtain a numerical controller which has high precision, performance, etc., while expanding the control range of a sequence control means (PC) to a machine tool as an object of control by controlling shafts even from the PC. CONSTITUTION:When, for example, the replacement of a tool is started, the control circuit 18 of the machine tool stores commands of the calculation of a movement extent, a speed, etc., necessary for the replacement in a PC command storage buffer 19 and sends the PC commands to an NC 2. The NC 2 when receiving the PC commands from the PC 3 decodes the contents of the PC command storage buffer 19 and performs one-block calculating by a command decoding and numeric calculating circuit 15 and supplies the result (b) to a command control circuit 16. The command control circuit 16 controls command results (a) and (b) of the 2nd command decoding and numeric calculating circuits 14 and 15 for every shaft and supplies either of the command results (a) and (b) to a shaft movement extent output circuit 17. When commands are inputted from the both at the same time, control is so performed as to ignore them or generate an alarm. The shaft movement extent output circuit 17 converts the command supplied from the command control circuit 16 into the quantity of shaft movement in the machine tool 10, and supplies it to a servo unit 8.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は数値制御装置、特に、予め読み込まれた加ニ
ブログラムによって演算処理された数値データに応じて
被制御対象物(以下、工作機械と称す)を制御する数値
制御装置に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a numerical control device, in particular, to control a controlled object (hereinafter referred to as a machine tool) according to numerical data calculated by a machine program read in advance. ) is related to a numerical control device that controls the

〔従来の技術〕[Conventional technology]

第3図は従来一般に用いられている数値制御装置を示す
システム構成図であり、図において、1は数値制御装置
本体であり、数値制御を行う数値制御手段(以下、NC
と称す)2と工作機械のシーケンス制御を行うシーケン
ス制御手段(以下、PCと称す)3とからなる。NC操
作パネル4は、CRT等の表示器5と加ニブログラムや
工具データ、ハラメータ等のデータ設定のためのキルボ
ー)”8.!:”t’構成すしておp1マンマシンイン
ターフェースを行う。データ入力装置7は紙テープに作
成した加ニブログラムを上記NC2へ入力する。
FIG. 3 is a system configuration diagram showing a conventionally commonly used numerical control device. In the figure, 1 is the main body of the numerical control device, and numerical control means (hereinafter referred to as NC
(hereinafter referred to as PC) 2 and sequence control means (hereinafter referred to as PC) 3 that performs sequence control of the machine tool. The NC operation panel 4 is configured with a display 5 such as a CRT and a command line for setting data such as a machine program, tool data, and a harameter, and performs a p1 man-machine interface. The data input device 7 inputs the Canadian program prepared on the paper tape to the NC 2.

サーボユニット8は工作機械10の軸を動かすためのモ
ータ制御部であり、NC2から移動指令に対応するパル
スが供給されると、この供給パルス量に応じてそ一夕9
を駆動する。このことにより、工作機械10の軸が移動
する。
The servo unit 8 is a motor control unit for moving the axis of the machine tool 10, and when a pulse corresponding to a movement command is supplied from the NC 2, the servo unit 8 automatically operates according to the amount of supplied pulses.
to drive. This causes the axis of the machine tool 10 to move.

NC2とPC30機能分担を簡単に説明すると、NC2
B加ニブログラムによって指令される工作機械の軸駆動
を制御し、PC3は軸駆動以外の油圧制御、工具交換お
よびスピンドル等の補助機能に対するシーケンス制御を
行うプログラマブルコントローラである。
To briefly explain the division of functions between NC2 and PC30, NC2
The PC 3 is a programmable controller that controls the axis drive of the machine tool commanded by the B-nitrogram, and performs sequence control for auxiliary functions such as hydraulic control, tool exchange, and spindle other than axis drive.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の数値制御装置は以上のように構成されているので
、制御軸を駆動するための指令B、NC2から指令しな
ければならず、PC3は指令することができない。この
ため、例えば工具交換時の旋0回をサーボモータを使用
し、且つ、加ニブログラムの指令による制御で行うこと
が出来ないという問題点があった。
Since the conventional numerical control device is configured as described above, commands must be given from the command B and NC2 for driving the control axis, and the command cannot be given from PC3. For this reason, there is a problem in that, for example, zero turns during tool exchange cannot be performed using a servo motor and controlled by commands from the machine program.

この発明は上記のような問題点を解決するためになされ
たもので、NCから加ニブログラムによって制御軸が制
御できるとともに、PCからも制御軸が制御できる数値
制御装置を得ることを目的とする。
This invention was made to solve the above-mentioned problems, and an object of the present invention is to provide a numerical control device in which control axes can be controlled from an NC using a programmable program, and control axes can also be controlled from a PC.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る数値制御装置は、制御軸に対する指令に
於いて、従来の加ニブログラムで指令できるとともに、
PCからも別の指令によって行うことができるようにし
たものである。
The numerical control device according to the present invention can issue commands to the control axes using a conventional computer program, and
This can also be done from a PC using a separate command.

〔作 用〕[For production]

この発明における数値制御装置は、制御軸に対する移動
指令がNCおよびPCの両方でできることによ5、PC
によるサーボモータの位置決めなどの制御がNCの実行
とは独立にされ、PCの工作機械に対する制御範囲が拡
大する。
The numerical control device in this invention has the advantage of being able to issue movement commands for control axes using both an NC and a PC.
Control such as servo motor positioning is made independent of NC execution, expanding the control range of the PC over the machine tool.

〔実施例〕〔Example〕

以下、この発明の一実施例を前記第3図と同一部分に同
一符号を付した第1図について説明する。
An embodiment of the present invention will be described below with reference to FIG. 1, in which the same parts as in FIG. 3 are denoted by the same reference numerals.

第1図において、11はPC3からNC2へのデータ移
動路を示す。
In FIG. 1, 11 indicates a data movement path from PC3 to NC2.

第2図は数値制御装置本体1f:構成するNC2とPC
3の詳細ブロック図である。NC2は加ニブログラム格
納メモリ13と、この加ニブログラム格納メモリの出力
指令を解読する第1指令解読拳数値計算回路14と、P
C3からの出力指令を解読する第2指令解読・数値計算
回路15と、ゲート01〜G3の組み合せよりなり前記
第1.第2指令解読・数値計算回路14.15の出力を
入力する指令制御回路16と、この指令制御回路16の
出力に基づく指令をサーボユニット8に供給する軸移動
量出力回路17とで構成されている。
Figure 2 shows the numerical control device main body 1f: NC2 and PC that constitute it.
3 is a detailed block diagram of FIG. NC2 includes a Kanji program storage memory 13, a first command decoding fist value calculation circuit 14 for decoding the output command of the Kanji program storage memory, and P
A second command decoding/numerical calculation circuit 15 for decoding the output command from C3, and a combination of gates 01 to G3. It is composed of a command control circuit 16 that inputs the output of the second command decoding/numeric calculation circuit 14 and 15, and an axis movement amount output circuit 17 that supplies a command based on the output of this command control circuit 16 to the servo unit 8. There is.

また、PC3は工作機械10に対する制御を行っている
工作機械の制御回路18と、この制御回路18からの指
令を格納しPC指令を前記NC2内の第2指令解読・数
値計算回路14へ供給するPC指令格納バッファメモリ
19とで構成されている。
Further, the PC 3 stores the control circuit 18 of the machine tool that controls the machine tool 10 and commands from this control circuit 18, and supplies the PC command to the second command decoding/numeric calculation circuit 14 in the NC 2. It is composed of a PC command storage buffer memory 19.

次に動作について説明する。加ニブログラムテープ12
のデータは、データ入力装置によって加ニブログラム格
納メモリ13に格納される。加ニブログラムの実行開始
の起動がかかると、第1指令解貌・数値計算回路14に
よって加ニブログラムの指令が解読されて、1ブロック
単位に数値計算が行われる。その結果(1)は指令制御
回路16を介して指令制御回路17に供給される。
Next, the operation will be explained. Canadian program tape 12
The data is stored in the computer program storage memory 13 by a data input device. When the execution of the Kani program is activated, the first command decoding/numerical calculation circuit 14 decodes the instructions of the Kani program and performs numerical calculation in units of blocks. The result (1) is supplied to the command control circuit 17 via the command control circuit 16.

次に、PC3からの制御軸への指令方式について説明す
る。工作機械の制御回路18は、例えば工具交換の起動
がかかると、交換に必要な移動量の計算及び速度などの
指令をPC指令格納バッファメモリ19に格納しNCに
対してPC指令を知らせる。
Next, a method of commanding the control axes from the PC 3 will be explained. For example, when a tool change is started, the control circuit 18 of the machine tool stores commands such as calculation of movement amount and speed necessary for the change in a PC command storage buffer memory 19, and notifies the NC of the PC command.

NC2はPC3からのPC指令を受けると、PC指令格
納バッファメモリ19の解読および1ブロツク数値計算
を指令解読中数値計算回路15で行う。その結果(b)
は指令制御回路16に供給される。
When the NC 2 receives a PC command from the PC 3, the NC 2 decodes the PC command storage buffer memory 19 and calculates one block of numerical values using the numerical calculation circuit 15 during command decoding. The result (b)
is supplied to the command control circuit 16.

指令制御回路16は第1.第2指令解読・数値計算回路
14.15の指令結果(a) l (b)の両方を軸毎
に制御し、指令結果(島)または指令結果(b)のどち
らかを軸移動量出力回路17に供給する。両方からの指
令が同時に入った時は、無視またはアラームに制御する
。軸移動量出力回路17は、指令制御回路16から供給
された指令を工作機械10に於ける軸移動量に変換して
サーボユニット8に供給する。
The command control circuit 16 is the first. Second command decoding/numerical calculation circuit 14. Controls both command results (a) and l (b) of 15 for each axis, and outputs either the command result (island) or the command result (b) to the axis movement amount output circuit. Supply to 17. If commands from both are received at the same time, they will be ignored or set as an alarm. The axis movement amount output circuit 17 converts the command supplied from the command control circuit 16 into an axis movement amount in the machine tool 10 and supplies it to the servo unit 8.

なお、上記実施例においては、PC3からの指令をNC
2で解読・制御しているが、サーボユニット8が直接P
C指令を解読・制御するようにしても良い。
In the above embodiment, the commands from the PC 3 are
The servo unit 8 directly decodes and controls the P
It is also possible to decode and control the C command.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、PCからも制御軸が
できるように構成したので、PCの被制御対象物として
の工作機械に対する制御範囲が拡大するとともに、サー
ボモータが制御できることにより精度・性能等の高い数
値制御装置が得られる効果がある。
As described above, according to the present invention, since the control axis can also be controlled from the PC, the control range of the machine tool as the controlled object of the PC is expanded, and the servo motor can be controlled, thereby improving accuracy. This has the effect of providing a numerical control device with high performance.

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

第1図はこの発明による数値制御装置の一実施例を示す
システム構成図、第2図はその要部を示す詳細ブロック
図、第3図は従来の数値制御装置のシステム構成図であ
る。 2は数値制御手段(NC)、3はシーケンス制御手段(
PC)、10は被制御対象物(工作機械)、18は制御
回路、19はPC指令格納バッファメモリ。 なお、図中、同一部分は同一、又は相当部分を示す。 手続補正書(自発)
FIG. 1 is a system configuration diagram showing one embodiment of a numerical control device according to the present invention, FIG. 2 is a detailed block diagram showing its main parts, and FIG. 3 is a system configuration diagram of a conventional numerical control device. 2 is a numerical control means (NC), 3 is a sequence control means (
10 is a controlled object (machine tool), 18 is a control circuit, and 19 is a PC command storage buffer memory. Note that in the figures, identical parts indicate the same or equivalent parts. Procedural amendment (voluntary)

Claims (1)

【特許請求の範囲】[Claims] 数値制御手段で被制御対象物の軸駆動を制御し、シーケ
ンス制御手段で前記被制御対象物の軸駆動以外の補助動
作を制御する数値制御装置において、前記被制御対象物
に前記補助動作の制御指令を与える制御回路と、前記制
御指令を格納してPC指令を出力するPC指令格納バッ
ファメモリとで前記シーケンス制御手段を構成し、前記
PC指令によつても前記軸駆動を制御するように構成し
たことを特徴とする数値制御装置。
In a numerical control device in which a numerical control means controls the axial drive of a controlled object, and a sequence control means controls an auxiliary operation other than the axial drive of the controlled object, the auxiliary operation is controlled by the controlled object. The sequence control means is constituted by a control circuit that gives commands and a PC command storage buffer memory that stores the control commands and outputs PC commands, and is configured to control the axis drive also by the PC commands. A numerical control device characterized by:
JP10144185A 1985-05-15 1985-05-15 Numerical controller Pending JPS61260304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10144185A JPS61260304A (en) 1985-05-15 1985-05-15 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10144185A JPS61260304A (en) 1985-05-15 1985-05-15 Numerical controller

Publications (1)

Publication Number Publication Date
JPS61260304A true JPS61260304A (en) 1986-11-18

Family

ID=14300776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10144185A Pending JPS61260304A (en) 1985-05-15 1985-05-15 Numerical controller

Country Status (1)

Country Link
JP (1) JPS61260304A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1989002103A1 (en) * 1987-09-02 1989-03-09 Fanuc Ltd Spindle control method
JPH01152508A (en) * 1987-12-10 1989-06-15 Fanuc Ltd Cnc control system
JPH01152509A (en) * 1987-12-10 1989-06-15 Fanuc Ltd Cnc control system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1989002103A1 (en) * 1987-09-02 1989-03-09 Fanuc Ltd Spindle control method
JPS6462709A (en) * 1987-09-02 1989-03-09 Fanuc Ltd Spindle control system
JPH01152508A (en) * 1987-12-10 1989-06-15 Fanuc Ltd Cnc control system
WO1989005482A1 (en) * 1987-12-10 1989-06-15 Fanuc Ltd Cnc control system
JPH01152509A (en) * 1987-12-10 1989-06-15 Fanuc Ltd Cnc control system
WO1989005483A1 (en) * 1987-12-10 1989-06-15 Fanuc Ltd Cnc control system

Similar Documents

Publication Publication Date Title
JPH0384604A (en) Feed speed control method for numerical controller
WO1988008559A1 (en) Numerical control device
JP4044105B2 (en) Numerical control device having function of switching operation means for each system
US5337249A (en) Numerical control machining animation with workpiece and tool movement
KR920004080B1 (en) Numerical control device
JPS61260304A (en) Numerical controller
JP2008269483A (en) Numerical controller
KR890001355B1 (en) Numerical control device
JP3092744B2 (en) Processing system
JPH02151909A (en) Control device for industrial machine
JPS59201107A (en) Control system for restart of processing with numerical control
JPS6364108A (en) Numerical controller having malfunction checking function
JPS61118807A (en) Method and device for reset to working position of nc program
EP0380685A1 (en) Nc command system
JPS61168008A (en) Numerical control device
JPH05274020A (en) Method and device for tool offset shape data input type numerical control
JPH04100123A (en) Acceleration/deceleration time constant setting system for numerical controller
JPH0836413A (en) Time management system for cnc
JPS61114314A (en) Connection fixing device for servomotor and position detector
JPH02302803A (en) Rewriting system for pitch error correcting data
JPS60201860A (en) Dimensional allowance machining control of numerical control machine tool
JPS62174805A (en) Numerical control system
JPS6299811A (en) Numerical controller
JPS61150010A (en) Program control system of numerically controlled machine tool
JPH05341825A (en) Cnc machining control system