JPS62138904A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPS62138904A
JPS62138904A JP27781885A JP27781885A JPS62138904A JP S62138904 A JPS62138904 A JP S62138904A JP 27781885 A JP27781885 A JP 27781885A JP 27781885 A JP27781885 A JP 27781885A JP S62138904 A JPS62138904 A JP S62138904A
Authority
JP
Japan
Prior art keywords
code
command
character string
commands
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
JP27781885A
Other languages
Japanese (ja)
Inventor
Sadahiko Hasegawa
長谷川 貞彦
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 JP27781885A priority Critical patent/JPS62138904A/en
Publication of JPS62138904A publication Critical patent/JPS62138904A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36567On tape also commands for equipment attached to machine

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To send various instructions which are impossible with a mere M code to attached equipment by describing commands to the attached equipment on the same input medium with commands to a machine tool which are described in NC code. CONSTITUTION:A command decision part 9 for the attached equipment sends out a character string up to a symbol indicating the end of a character string, i.e. ')' to an RS232C interface part 10 as it is when detecting a character string '(#1<' in an NC command read in from an input part 3. The RS232C interface part 10 converts the character string into the signal of RS232C, which is outputted to the attached equipment 8. When there is not the character string '(#1<' in the NC command, the block is passed to an arithmetic control part 4 as usual and the machine tool is controlled.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、工作機械の制御と同時にロボット及びイン
デックステーブルなどにも指令を与えることのできる数
値制御装置(以下NC装置と略記)に関するものである
[Detailed Description of the Invention] [Field of Industrial Application] This invention relates to a numerical control device (hereinafter abbreviated as an NC device) that can control a machine tool and simultaneously give commands to a robot, index table, etc. be.

〔従来の技術〕[Conventional technology]

ネル(1)の操作結果を表示する表示部、(3)はNC
指令の入力部、(4)は入力部(3)からのNC指令を
受は取って演算して制御信号を出力する演算制御部、(
5)及び(6)は演算制御部(4)よシの信号によって
制御される駆動部、(7)は演算制御部(4)に付加さ
れ、演算制御部(4)の信号によって動作するMコード
出力部、(8)はMコード出力部(7)内のリレー接点
より出力された信号により駆動される付属装置である。
The display section that displays the operation results of the channel (1), (3) is the NC
The command input section (4) is an arithmetic control section that receives and calculates the NC command from the input section (3) and outputs a control signal.
5) and (6) are drive units controlled by signals from the arithmetic control unit (4), and (7) is an M which is added to the arithmetic control unit (4) and is operated by signals from the arithmetic control unit (4). The code output section (8) is an accessory device driven by a signal output from a relay contact in the M code output section (7).

次に動作について説明する。操作幀の介入を必要とする
動作では、操作負は表示部(2)に表示きれる各種情報
を判断しながら操作パネル(1)よυ必要な指示を与え
る。ここで、例えば、NCテープによる自動運転を指示
した場合、入力部(3)は紙テープリーダであり、ここ
から入力さ才したNC指令情報は演算制御部(4)によ
って適当な演算判定がなされ、もし移動指令であれば駆
動部(5) 、 (6)を動作させてXYテーブルなど
を移動させる〔駆動部(5)。
Next, the operation will be explained. In operations that require the intervention of the operator, the operator gives the necessary instructions to the operator panel (1) while determining the various information that can be displayed on the display (2). Here, for example, when an automatic operation using an NC tape is instructed, the input section (3) is a paper tape reader, and the NC command information input from there is appropriately calculated and determined by the arithmetic control section (4). If it is a movement command, drive units (5) and (6) are operated to move the XY table, etc. [Drive unit (5).

(6)は2組とは限らず、Z軸、A軸など多数の駆動部
を持つものもある〕。
(6) is not limited to two sets, and some have multiple drive units such as Z-axis and A-axis.]

1だ、NC指令中に付属装置用のMコード(マンンコー
ドのこと)指令があったときは、演算制御部(4)は制
御対象〔例えば第1図における駆動部(5)及び(6)
〕には停止指令(通常はMOOなど)を発し、更に一般
には外部装置を動作させるためにMコード出力部(力よ
りリレー出力がonloffされる(リレー出力で’x
<、E流・電圧出力のようなものもあるが、ここでは代
表例としてリレー出力を取上げた)。このリレー出力の
onlonにより付属装置(8)が動作を行う。
1. When there is an M code (man code) command for an attached device in the NC command, the arithmetic control unit (4) executes the control target [for example, the drive units (5) and (6) in Fig. 1].
] issues a stop command (usually MOO, etc.), and generally the relay output is turned off by the M code output section (force) to operate an external device ('x
(There are also types such as E current/voltage output, but here we have taken relay output as a representative example). The attached device (8) operates based on this relay output onlon.

〔発明が解決しようとする問題点〕 従来のNC装置は以上のように構成されているので、1
つのMコードでは単純なリレーのo n10 f f程
度のことしかできず、このため例えば回転割り出しテー
ブルなどの設定をきめ細かく行うとすると、他種のMコ
ードを使うか同−Mコードを大量にNCテープ中に記述
する必要があるなどの問題(例えば設定単位1度の回転
テーブルで21度回転させるには、1度回転用Mコード
を21個、又は10度回転用Mコード2個と1度回転用
Mコード1個を記述する必要がある)があった。
[Problems to be solved by the invention] Since the conventional NC device is configured as described above, 1.
One M code can only perform a simple relay ON10FF, so if you want to make detailed settings for a rotary indexing table, for example, you will need to use another type of M code or use a large number of NC codes of the same M code. Problems such as the need to write information on the tape (for example, to rotate a rotary table with a setting unit of 1 degree by 21 degrees, 21 M codes for 1 degree rotation, or 2 M codes for 10 degree rotation and 1 degree It was necessary to write one M code for rotation).

この発明は、上記のような問題点を解消するためになさ
れたもので、NCに接続されるロボット又はインデック
ステーブルなどの付属装置に対して単なるMコードでは
不可能な指令全行うことができるとともに、通常のNC
装置としても動作可能な装置を得ることを目的とする。
This invention was made to solve the above-mentioned problems, and is capable of issuing all commands to attached devices such as robots or index tables connected to an NC that are impossible with a simple M code. , normal NC
The purpose is to obtain a device that can also be operated as a device.

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

この発明に係る数値制御装置は、数値制御装置付の工作
機械に付属する付属装置に対して単なるMコードだけで
は出来ないような制御を行うために、NCコードによる
上記工作機械に対する指令械と上記付属装置とに与える
ようにしたものである。
The numerical control device according to the present invention provides a command machine for the machine tool using an NC code, and a command machine for the machine tool using an NC code, in order to control an accessory device attached to a machine tool equipped with a numerical control device, which cannot be done with a simple M code. It is designed to be given to an attached device.

〔作用〕[Effect]

この発明における演算制御部は、NC指令中に混在して
いる付属装置用指令を検出すると、それを通常のNC指
令として扱わずにそのま寸付属装置用インターフェイス
部に出力する。
When the arithmetic control unit in this invention detects an accessory device command included in an NC command, it does not treat it as a normal NC command and directly outputs it to the accessory device interface unit.

〔実施例〕〔Example〕

第1図はこの発明の一実施例を示す構成図である。図に
おいて、(1)はこの装置を操作するための操作パネル
、(2)はこの操作の結果?確認するための表示部、(
3)はNC指令を設けたテープを読みとらせるだめの入
力部、(4)は入力部(3)からのNC指令を受けとっ
て演算して制御信号を出力する演算制御部、(5)及び
(6)は演算制御部(4)からの出力によって制御さ几
るXテーブル駆動部及びYテーブル駆動部、(9)は演
算制御部(4)内にあってR8232Cインタ一フエー
ス部00へ信号を送る付属装置用信号判定部、(+1は
付属装置用指令判定部(9)からの信号を変換して送信
するR8232C−fンターフエース部、(8)はR8
232cインタ一フエース部(8)よりの制御信号を受
けて動作する割出台などの付属装置である。
FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, (1) is the operation panel for operating this device, and (2) is the result of this operation? Display section for checking (
3) is an input section for reading the tape provided with NC commands; (4) is an arithmetic control section for receiving and calculating NC commands from input section (3); and (5) is for outputting control signals. (6) is an X table drive section and a Y table drive section which are controlled by the output from the arithmetic control section (4), and (9) is a signal to the R8232C interface section 00 in the arithmetic control section (4). (+1 is the R8232C-f interface unit that converts and transmits the signal from the attached device command determination unit (9), (8) is the R8
This is an accessory device such as an indexing table that operates in response to a control signal from the 232c interface section (8).

又第2図はこの発明で使用したNCテープの一例を示す
記述図である。図において、3行目および6行目が付属
装置用の指令である。
Moreover, FIG. 2 is a descriptive diagram showing an example of the NC tape used in this invention. In the figure, the third and sixth lines are instructions for the attached device.

この付属装置用指令は、NCテープ上では注釈の形式を
とっており、(+ 1 < PA2OL)や(+1<P
115L)のように0で挾まれた部分が実際に付属装置
に出力される。ここでは回転テーブルが初め20度、次
に20+15=35度に設定される。
These instructions for attached devices take the form of annotations on the NC tape, such as (+ 1 < PA2OL) and (+1 < P
115L), the part surrounded by 0 is actually output to the attached device. Here, the rotary table is initially set at 20 degrees and then at 20+15=35 degrees.

付属装置用指令判定部(9)では、入力部(3)から読
み込んだNC指令中に(+1くという文字列を検出する
と文字列の終了を示す記号、即ち)が現われるまでの文
字列をそのままR8232Cインタフ工イス部00へ送
る。R8232cインタ一フエイス部00では、この文
字列1R8232cの信号に変換して付属装置(8)へ
出力する。
The auxiliary device command determination unit (9) reads the character string as it is until a symbol indicating the end of the character string appears in the NC command read from the input unit (3). Send to R8232C interface section 00. The R8232c interface section 00 converts this character string into a signal of 1R8232c and outputs it to the attached device (8).

又NC指令中に(+1〈という文字列がなかった場合は
そのブロックは従来通りの演算制御部(4)に1度され
工作機域の制御が行わ几る。
If there is no character string (+1〈) in the NC command, that block is once sent to the conventional arithmetic control section (4) to control the machine tool area.

なお上ba実施例では入力用のNCテープ中の付属装置
用指令は注釈の形式をとり(+1〈指令)の書式であっ
たが、もちろん他の文字を識別用に用いても同様の効果
が得られる。
In the above ba embodiment, the instruction for the attached device in the NC tape for input was in the form of an annotation (+1 <command), but of course the same effect can be obtained by using other characters for identification. can get.

又付属装置(8)もR8232cインタフエイスだけで
なく、GPIB(IEEE)あるいは他の方式のインタ
ーフェースによるものでも接続することができ、同等の
効果が得られる。
Further, the attached device (8) can be connected not only by the R8232c interface but also by a GPIB (IEEE) or other type of interface, and the same effect can be obtained.

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

以上のようにこの発明によればNC指令中に付属装置用
の指令を記述可能にしたので、付属装置に対し単なるM
コードでは不可能な各種の指示を了ることかできる。
As described above, according to the present invention, since it is possible to write a command for an accessory device in an NC command, a simple M
It can complete various instructions that are not possible with code.

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

第1図はこの発明の一実施例を示す構成図、第2図はこ
の発明の一実施例に使用したNCテープ記述図、第3図
は従来のNC装置の構成金示す構成図である。 図において、(1)は操作パネル、(2)は表示部、(
3)は入力部、(4)は演算制御部、(5) 、 (6
)はXYテーブル駆動部、(7)はMコード出力部、(
8)は付属装置、(9)は付属装置用指令判定部、00
はR8232Cインタフ工イス部である。 なお各図中、同一1午号は同−又は相当部分を示す。 代理人 弁理士  佐 藤 正 年 M1図 第3図 1 :七14乍八′81し 4:瑣耳4′1轡鼾
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a descriptive diagram of an NC tape used in an embodiment of the present invention, and FIG. 3 is a block diagram showing the structure of a conventional NC device. In the figure, (1) is the operation panel, (2) is the display section, (
3) is the input section, (4) is the calculation control section, (5), (6
) is the XY table drive unit, (7) is the M code output unit, (
8) is an attached device, (9) is an attached device command determination unit, 00
is the R8232C interface section. In each figure, the same 1st day number indicates the same or equivalent part. Agent Patent Attorney Tadashi Sato Year M1 Figure 3 Figure 1: 714 to 8'81 4: 4'1 轡鼾

Claims (3)

【特許請求の範囲】[Claims] (1)数値制御装置付の工作機械に付属する付属装置に
対して単なるMコードだけでは出来ないような制御を行
うために、NCコードによる上記工作機械に対する指令
と共に上記付属装置の指令をも同一の入力媒体に記述出
来るようにし、上記指令を上記工作機械と上記付属装置
とに与えることを特徴とする数値制御装置。
(1) In order to control the accessory equipment attached to a machine tool equipped with a numerical control device that cannot be done with a simple M code, the commands for the accessory equipment mentioned above are the same as the commands for the machine tool using the NC code. A numerical control device characterized in that the commands can be written on an input medium, and the commands can be given to the machine tool and the attached device.
(2)付属装置用の指令を入力媒体中に注釈の形で記述
することを特徴とする特許請求範囲第1項記載の数値制
御装置。
(2) A numerical control device according to claim 1, characterized in that instructions for an accessory device are written in the form of annotations in an input medium.
(3)数値制御装置はNCコードによる指令中の特定指
令をRS232C又はGPIB(IEEE)など各種の
インターフェイスを通じて出力できることを特徴とする
特許請求の範囲第1項記載の数値制御装置。
(3) The numerical control device according to claim 1, wherein the numerical control device is capable of outputting a specific command among commands based on an NC code through various interfaces such as RS232C or GPIB (IEEE).
JP27781885A 1985-12-12 1985-12-12 Numerical controller Pending JPS62138904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27781885A JPS62138904A (en) 1985-12-12 1985-12-12 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27781885A JPS62138904A (en) 1985-12-12 1985-12-12 Numerical controller

Publications (1)

Publication Number Publication Date
JPS62138904A true JPS62138904A (en) 1987-06-22

Family

ID=17588689

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27781885A Pending JPS62138904A (en) 1985-12-12 1985-12-12 Numerical controller

Country Status (1)

Country Link
JP (1) JPS62138904A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04123327U (en) * 1991-04-25 1992-11-09 新キヤタピラー三菱株式会社 engine cooling fan

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04123327U (en) * 1991-04-25 1992-11-09 新キヤタピラー三菱株式会社 engine cooling fan

Similar Documents

Publication Publication Date Title
JPH03276202A (en) Programmable controller
JP2000010615A (en) Control system
JPS62138904A (en) Numerical controller
JPS58217223A (en) Numerically controlled electric discharge machine equipped with display device
JPH0623550A (en) Automatic welding equipment
US4204144A (en) Position control system
JPS5942884B2 (en) Sequence control program debugging device
US20230400977A1 (en) Controller
JPS5875203A (en) Sequence controller of double structure
JPH01235989A (en) Plant operation guiding device
JPS60251408A (en) Numerical control device
JPS61183709A (en) Numerical controller
JP3341263B2 (en) Controller
JPH0799484B2 (en) Numerical control device
JPS63240611A (en) Command input system
JPS5840418Y2 (en) Input/output unit test equipment
JPS62243009A (en) Numerical controller having diagnostic cassette
CS241654B1 (en) Connection of the robot control system
JPS6277609A (en) Numerical controller with digital servo system for motor driving
JPS61229104A (en) Method for controlling facility and equipment
JPH0410799A (en) Monitor and control method
JPH0346005A (en) Programmable controller
JPS5831889A (en) Crane controller
JPS6129909A (en) Numerical controller
JPH0664667B2 (en) Alarm display device