JPH1076445A - Machine tool - Google Patents

Machine tool

Info

Publication number
JPH1076445A
JPH1076445A JP23294296A JP23294296A JPH1076445A JP H1076445 A JPH1076445 A JP H1076445A JP 23294296 A JP23294296 A JP 23294296A JP 23294296 A JP23294296 A JP 23294296A JP H1076445 A JPH1076445 A JP H1076445A
Authority
JP
Japan
Prior art keywords
music
machine tool
performance
midi
musical
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
JP23294296A
Other languages
Japanese (ja)
Inventor
Iwao Sakoguchi
巌 砂古口
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP23294296A priority Critical patent/JPH1076445A/en
Publication of JPH1076445A publication Critical patent/JPH1076445A/en
Pending legal-status Critical Current

Links

Landscapes

  • Machine Tool Sensing Apparatuses (AREA)
  • Numerical Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To make an operating condition capable of being known of a machine, by providing a music selecting means selecting a desired music from in a performance information memory means corresponding to the condition of a machine tool such as generating abnormality and a music regeneration means regenerating this selected music. SOLUTION: An MIDI sound source 9 is provided, in which an MIDI performance data in conformity to an MIDI standard stored in an HDD19 to be loaded on an RAM3 by a CPU7 is read from the RAM3, converted into a low frequency analog voice signal and output to an audio amplifier 11. During work or in the case of generating abnormality, from in an MIDI performance data stored in the HDD19, a music in accordance with a state of a machine tool is selected, this selected music is regenerated by the MIDI sound source 9. In this way, the state of the machine tool, for instance, the content of a generated error can be judged by the music.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、加工プログラムに
従って、自動的に各種加工及び工具交換を高精度、かつ
高速で実行する工作機械に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a machine tool that automatically performs various types of machining and tool change according to a machining program at high accuracy and at high speed.

【0002】[0002]

【従来の技術】従来、ワークを工作機械の自動運転によ
って加工する際、部品を交換するためや何らかの異常対
処をするために操作者が工作機械に付きっ切りで監視す
ることをせず、工作機械の傍らで段取り作業を行いなが
ら監視していた。このため、段取り作業中に、加工が終
了したり異常処理が発生した場合、操作者にそれらのこ
とを報知する方法としてアラームランプを点灯させてい
た。また、異常が発生した時点でブザーを鳴らすという
方法をとっていた。
2. Description of the Related Art Conventionally, when a workpiece is machined by automatic operation of a machine tool, an operator does not have to monitor the machine tool at all times in order to replace parts or deal with any abnormalities. He was monitoring while performing setup work beside the machine. For this reason, when the processing is completed or abnormal processing occurs during the setup operation, an alarm lamp is lit as a method of notifying the operator of the fact. In addition, a method is used in which a buzzer sounds when an abnormality occurs.

【0003】一方、工作機械の現在の状態を知るために
は、工作機械の傍まで行き工作機械に設けられた表示パ
ネルを見たり、工作機械に設けられた窓枠から直接加工
状態を覗くことをしていた。
On the other hand, in order to know the current state of a machine tool, it is necessary to go to the side of the machine tool and look at a display panel provided on the machine tool, or directly look at a machining state from a window frame provided on the machine tool. Was doing.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、こうよ
うな視覚による報知は、操作者がアラームランプ、表示
パネル等が設置されている場所に移動しなければならな
かった。またブザー等の聴覚による報知は、操作者が上
述した場所に移動する必要がなくなる一方、限られた情
報量しか伝達できないという問題があった。
However, such a visual notification requires the operator to move to a place where an alarm lamp, a display panel, and the like are installed. In addition, the auditory notification of a buzzer or the like eliminates the need for the operator to move to the above-described location, but has a problem that only a limited amount of information can be transmitted.

【0005】本発明は、上述した問題点を解決するため
になされたものであり、操作者が工作機械の設置場所ま
で移動することなく、機械の動作状態を知ることができ
る工作機械を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and provides a machine tool that allows an operator to know the operation state of a machine without moving to a place where the machine tool is installed. The purpose is to:

【0006】[0006]

【課題を解決するための手段】この目的を達成するため
に請求項1に記載の工作機械では、加工プログラムに従
って加工を行うものを対象とし、特に、複数の楽曲を演
奏可能な情報として記憶する演奏情報記憶手段と、加工
中、異常発生等の工作機械の状態に対応して前記演奏情
報記憶手段の中から所望の楽曲を選択する楽曲選択手段
と、前記楽曲選択手段によって選択された楽曲を再生す
る楽音再生手段とを備えている。
In order to achieve this object, a machine tool according to the present invention is directed to a machine tool that performs machining in accordance with a machining program, and particularly stores a plurality of music pieces as playable information. Performance information storage means, a music selection means for selecting a desired music from the performance information storage means in accordance with the state of the machine tool during processing, occurrence of an abnormality, etc., and a music selected by the music selection means Music reproduction means for reproducing.

【0007】従って、加工中、あるいは異常が発生した
際、楽曲選択手段によって前記演奏情報記憶手段の中か
ら工作機械の状態に応じて楽曲を選択し、その選択され
た楽曲を音楽再生手段によって再生している。
Therefore, during processing or when an abnormality occurs, music is selected by the music selection means from the performance information storage means in accordance with the state of the machine tool, and the selected music is reproduced by the music reproduction means. doing.

【0008】また、請求項2に記載の工作機械は、前記
演奏情報記憶手段に、各楽曲に対応した音量、演奏時間
を記憶させ、前記楽音再生手段によって再生された楽曲
を前記演奏情報記憶手段に記憶された演奏時間経過した
後停止するように前記楽音再生手段を制御する楽音再生
制御手段を備えている。従って、前記楽曲選択手段によ
って選択された楽曲を所望の音量でかつ所望の時間演奏
させた後、前記楽音再生制御手段によって前記音楽再生
手段を停止するようにしている。
According to a second aspect of the present invention, in the machine tool, the performance information storage means stores a volume and a performance time corresponding to each music, and the music reproduced by the musical sound reproduction means is stored in the performance information storage means. And a tone reproduction control means for controlling the tone reproduction means so as to stop after a lapse of the playing time stored in the musical tone reproduction means. Therefore, after the music selected by the music selection means is played at a desired volume for a desired time, the music reproduction control means stops the music reproduction means.

【0009】また、請求項3に記載の工作機械は、加工
プログラム中に、前記演奏情報記憶手段に記憶された楽
曲の中から所望の楽曲を選択演奏する命令と、その演奏
の実行を中止する命令とを有し、前記各命令を解析する
解析手段を備えている。従って、工具交換や主軸回転等
の各命令の前後に所望の楽曲を選択演奏する命令とその
演奏を停止する命令とを設定し、各動作毎に異なる楽曲
を演奏させることができる。
According to a third aspect of the present invention, in the machine tool, a command for selecting and playing a desired music piece from the music pieces stored in the performance information storage means during the processing program and suspending the execution of the performance. And analysis means for analyzing each of the instructions. Therefore, a command for selecting and playing a desired music and a command for stopping the performance can be set before and after each command such as tool change or spindle rotation, and a different music can be played for each operation.

【0010】[0010]

【発明の実施の形態】以下、本発明を具体化した工作機
械の実施の形態を図面を参照して詳細に説明する。
Embodiments of a machine tool embodying the present invention will be described below in detail with reference to the drawings.

【0011】まず始めに本実施の形態の工作機械の構成
について、図1及び図2を用いて説明する。
First, the configuration of a machine tool according to the present embodiment will be described with reference to FIGS.

【0012】本実施の形態の工作機械は、ハードディス
ク(HDD)19に記憶された加工プログラムに基づい
て、CPU7、NC制御部17等を介してX軸モータ2
9、Y軸モータ35、Z軸モータ41、主軸モータ23
を駆動させてワークを加工するものである。
The machine tool according to the present embodiment is based on a machining program stored in a hard disk (HDD) 19 and has an X-axis motor 2 via a CPU 7 and an NC control unit 17.
9, Y-axis motor 35, Z-axis motor 41, spindle motor 23
Is driven to process the work.

【0013】前記CPU7には、工作機械全体を制御す
るプログラムが記憶されたROM1と、前記プログラム
のワークエリア及び後述する演奏条件テーブル、曲番号
−MIDI演奏データファイル対応テーブル等の各種デ
ータを記憶するRAM3と、起動キー、停止キー等やデ
ィスプレイ45を備えた操作盤5と、CPU7によって
指定されたタイミングから指定時間が経過したことをC
PU7に通知するタイマー15と、HDD19に記憶さ
れていてCPU7によってRAM3上にロードされたM
IDI規格準拠のMIDI演奏データをRAM3から読
み出し、低周波アナログ音声信号に変換し、オーディオ
アンプ11へ出力するMIDI音源9と、前記HDD1
9と、前記NC制御部17と、工作機械と接続する外部
機器との通信におけるインターフェース処理を実行する
外部機器通信I/F14とが接続されている。
The CPU 7 stores a ROM 1 in which a program for controlling the entire machine tool is stored, and various data such as a work area of the program, a performance condition table described later, and a music number-MIDI performance data file correspondence table. RAM 3, operation panel 5 including a start key, a stop key, etc., and display 45, and C indicating that a specified time has elapsed from the timing specified by CPU 7.
The timer 15 for notifying the PU 7 and the M stored in the HDD 19 and loaded on the RAM 3 by the CPU 7.
A MIDI sound source 9 for reading MIDI performance data conforming to the IDI standard from the RAM 3, converting the data to a low-frequency analog audio signal, and outputting the analog audio signal to the audio amplifier 11;
9, an NC control unit 17, and an external device communication I / F 14 for executing interface processing in communication with an external device connected to a machine tool.

【0014】前記オーディオアンプ11は、MIDI音
源9から出力される低周波アナログ音声信号をスピーカ
ーで出力可能な信号に増幅するものである。前記スピー
カー13は、オーディオアンプ11で増幅された低周波
アナログ信号を音声へ変換するものである。前記MID
I音源9と、前記オーディオアンプ11と、スピーカー
13とで前記楽音再生手段を構成している。
The audio amplifier 11 amplifies a low-frequency analog audio signal output from the MIDI sound source 9 into a signal that can be output from a speaker. The speaker 13 converts the low-frequency analog signal amplified by the audio amplifier 11 into sound. The MID
The I sound source 9, the audio amplifier 11, and the speaker 13 constitute the musical sound reproducing means.

【0015】前記外部機器通信I/F14は、例えば、
加工プログラムや各種データを記憶する外部機器からの
情報を通信によって送受信するためのものである。
The external device communication I / F 14 is, for example,
This is for transmitting and receiving information from an external device that stores a processing program and various data by communication.

【0016】前記NC制御部17は、CPU7によって
生成されたモーション指令を実行する。具体的には前記
モーション指令内容を各軸毎のより細かい位置指令に分
解する。また、前記NC制御部17は、定期的にエンコ
ーダーからのフィードバック情報を読み出し、同情報に
基づいてサーボアンプへの位置指令を出力する。更に、
前記NC制御部17は、後述する各サーボアンプ21、
27、33、39からのモータ負荷を示す電流値情報を
読み出して、CPU7へ出力する。
The NC controller 17 executes a motion command generated by the CPU 7. Specifically, the motion command content is decomposed into finer position commands for each axis. The NC controller 17 periodically reads out feedback information from the encoder and outputs a position command to the servo amplifier based on the information. Furthermore,
The NC control unit 17 includes servo amplifiers 21 to be described later,
The current value information indicating the motor load from 27, 33, and 39 is read and output to the CPU 7.

【0017】前記HDD19は、大量データを記憶保持
するハードディスクで、加工プログラム、工具属性や工
具の使用経過時間等の工具データ、MIDI音源9でデ
コード可能なMIDI演奏データ、工作機械の各種動作
状態毎の演奏条件情報等を記憶保持するものである。
The HDD 19 is a hard disk for storing and holding a large amount of data. The HDD 19 includes machining programs, tool data such as tool attributes and tool use elapsed time, MIDI performance data that can be decoded by the MIDI sound source 9, and various operating states of the machine tool. Is stored.

【0018】前記各サーボアンプ21、27、33、3
9は、NC制御部17の位置指令と、各エンコーダ2
5、31、37、43からフィードバックされる単位時
間当たりの実際の移動量とからそれぞれ主軸、X軸、Y
軸、Z軸に対応するモータの回転を制御するために各モ
ータ23、29、35、41へ供給する電流値をコント
ロールするものである。
The servo amplifiers 21, 27, 33, 3
Reference numeral 9 denotes a position command of the NC control unit 17 and each encoder 2
5, 31, 37, and 43, the main axis, the X axis, and the Y axis are respectively calculated from the actual movement amounts per unit time fed back from the unit.
In order to control the rotation of the motor corresponding to the axis and the Z axis, the current value supplied to each of the motors 23, 29, 35 and 41 is controlled.

【0019】前記モータ23、29、35、41は、各
サーボアンプ21、27、33、39から供給される電
気エネルギーをそれぞれ主軸、X軸、Y軸、Z軸の各回
転軸の回転運動エネルギーに変換するものである。前記
エンコーダ25、31、37、43は、それぞれ主軸、
X軸、Y軸、Z軸の各回転軸に取り付けられ、実際の単
位時間当たりの回転数を計測してサーボアンプに通知す
る。
The motors 23, 29, 35 and 41 convert the electric energy supplied from the servo amplifiers 21, 27, 33 and 39 into the rotational kinetic energy of each of the main shaft, X-axis, Y-axis and Z-axis. Is converted to The encoders 25, 31, 37, and 43 are respectively a spindle,
It is attached to each of the X-axis, Y-axis, and Z-axis rotation axes, measures the actual number of rotations per unit time, and notifies the servo amplifier.

【0020】次に、HDD19に記憶されている演奏条
件テーブルの構成について図3を用いて説明する。
Next, the configuration of the performance condition table stored in the HDD 19 will be described with reference to FIG.

【0021】図3において、左端欄には、工作機械の状
態(エラー状態、運転動作)が示されており、次の欄に
は、機械の状態、例えば、主軸電流値異常等のエラー名
及び加工プログラム運転完了等が示されている。次の欄
には、機械の状態によって演奏される演奏曲名が示され
ており、その次の欄には、演奏するときの音量が示され
ており、次の欄には、演奏時間が示されている。従っ
て、ストロークオーバーのエラーが発生した場合には”
春の唄”が、中レベルの音量で、15秒間演奏されるこ
とになる。
In FIG. 3, the left end column shows the state of the machine tool (error state, operation), and the next column shows the state of the machine, for example, the error name such as abnormal spindle current value and the like. The completion of the machining program operation is shown. The next column shows the name of the music that is played depending on the state of the machine, the next column shows the volume at the time of performance, and the next column shows the performance time. ing. Therefore, if a stroke over error occurs,
The Spring Song will be played at a medium level for 15 seconds.

【0022】また、本実施の形態では、図4に示すよう
に、演奏を指定したり、演奏を停止したりできる命令を
備え、その命令を加工プログラム中に自由に定義するこ
とができる。演奏を指定する命令は、N12の行にある
G850である。そのすぐ後のIは、演奏曲番号を示す
パラメータであり、Iの後の数字によって図5に示す曲
番号を指定できる。その後に続くKは、音量を指定する
パラメータであって、Kの後に続く数字(0の時は最小
レベル、1の時は中レベル、2の時は最大レベル)によ
って音量を指定することができる。演奏を停止する命令
は、N20の行にあるG851である。
Further, in this embodiment, as shown in FIG. 4, there are provided instructions for designating and stopping the performance, and the instructions can be freely defined in the machining program. The instruction to specify the performance is G850 in the line N12. Immediately after I is a parameter indicating the music number, and the number following I can designate the music number shown in FIG. The following K is a parameter for specifying the volume, and the volume following K can be specified by the number following 0 (minimum level for 0, medium level for 1 and maximum level for 2). . The instruction to stop the performance is G851 on the line N20.

【0023】前記HDD19には、図5に示すように、
演奏曲番号とその番号に対応するMIDI演奏データの
ファイル名が記憶されている。
In the HDD 19, as shown in FIG.
A music piece number and a file name of MIDI performance data corresponding to the number are stored.

【0024】次に、本実施の形態の工作機械の動作につ
いて、特に、機械の状態によって楽音を再生する処理に
ついて説明する。
Next, the operation of the machine tool according to the present embodiment, in particular, the processing for reproducing a musical tone according to the state of the machine will be described.

【0025】図6乃至図10の各フローチャートをもと
に、本実施の形態の工作機械の自動運転モードにおける
自動運転動作を制御する処理、異常検出時及び加工プロ
グラム完了時の演奏処理を説明する。
The processing for controlling the automatic operation in the automatic operation mode of the machine tool according to the present embodiment, the performance processing when an abnormality is detected and the processing program is completed will be described with reference to the flowcharts of FIGS. .

【0026】図6のフローチャートは、ユーザが所望の
加工プログラムの番号を操作盤5から入力した後、起動
キーを押したときに実行される。
The flowchart of FIG. 6 is executed when the user presses a start key after inputting a desired machining program number from the operation panel 5.

【0027】まず始めに、工作機械の制御プログラム動
作を分岐する要因となる事象であるイベント、例えば、
異常検出、非常停止ボタン押下の検出、1ブロック分の
加工プログラム終了、加工プログラムの完了等が発生し
たか否かを判定する(ステップ100、以下、ステップ
をSで表す)。S100において、イベントが発生して
いないと判断すると(S100でNo)、加工ユーザに
よって指示された加工プログラムを図示しないプログラ
ムデコーダによってデコードし(S104)、デコード
されたデータをモーション指令としてNC制御部17に
転送し、工作機械の運転を実行する(S106)、その
後、次のブロックの処理を行うため、処理を前記S10
0工程へ移行させる。
First, an event that is a factor that causes a branch of the control program operation of the machine tool, for example,
It is determined whether an abnormality has been detected, an emergency stop button has been pressed, a machining program for one block has been completed, a machining program has been completed, and the like (Step 100; hereinafter, the steps are represented by S). If it is determined in S100 that no event has occurred (No in S100), the machining program designated by the machining user is decoded by a program decoder (not shown) (S104), and the decoded data is used as a motion command by the NC controller 17. And the operation of the machine tool is executed (S106). Then, in order to perform the processing of the next block, the processing is performed in S10.
Move to step 0.

【0028】一方、前記S100工程において、イベン
ト有りと判断された場合(S100でYes)、後述す
るイベント処理のサブルーチンをコールし(S10
2)、処理を終える。
On the other hand, if it is determined in step S100 that there is an event (Yes in S100), a subroutine for event processing described later is called (S10).
2) End the process.

【0029】次に、イベント処理のサブルーチンについ
て図7のフロチャートに基づいて説明する。
Next, the event processing subroutine will be described with reference to the flowchart of FIG.

【0030】まず始めに、発生したイベントが加工プロ
グラムの終了か否かを判断する(S200)。発生した
イベントが加工プログラムの終了であった場合(S20
0でYes)、図3に示す動作状態毎の演奏条件テーブ
ルを参照し、加工プログラム完了時の演奏設定が有るか
否かを調べる(S202)。演奏設定が有る場合(S2
02でYes)、演奏処理を行う後述するサブルーチン
をコールする(S204)。その後、イベント処理のサ
ブルーチンを抜け出る。一方、演奏設定がないと判断さ
れた場合(S202でNo)、発生したイベントがアラ
ームであるか否かを判断する(S206)。アラームが
あると判断した場合(S206でYes)、後述するエ
ラー処理を行うサブルーチンをコールし(S208)、
イベント処理のサブルーチンを終了する。S206にお
いて、アラームが無いと判断した場合、発生したイベン
トがG850か否かを判断し(S210)、発生したイ
ベントがG850である場合、後述するプログラム演奏
処理のサブルーチンをコールし(S212)、プログラ
ム演奏処理が終了したら処理を図6に示したS100へ
移行させる。S210において、発生したイベントがG
850でないと判断した場合、そのイベントがG851
であるか否かを判断する(S214)。発生したイベン
トがG851である場合、演奏を停止し(S216)、
処理を図6に示したS100へ移行させる。G851で
ないと判断された場合(S214でNo)、イベント処
理のサブルーチンを終える。
First, it is determined whether or not the event that has occurred is the end of the machining program (S200). When the occurred event is the end of the machining program (S20
0, Yes), it is checked with reference to the performance condition table for each operation state shown in FIG. 3 whether or not there is a performance setting when the machining program is completed (S202). When there is a performance setting (S2
02 (Yes), a subroutine described later for performing the performance process is called (S204). Thereafter, the process exits the event processing subroutine. On the other hand, when it is determined that there is no performance setting (No in S202), it is determined whether or not the generated event is an alarm (S206). When it is determined that there is an alarm (Yes in S206), a subroutine for performing error processing described later is called (S208).
The event processing subroutine ends. In S206, when it is determined that there is no alarm, it is determined whether or not the event that occurred is G850 (S210). When the performance processing is completed, the processing shifts to S100 shown in FIG. In S210, the event that has occurred is G
If it is determined that the event is not 850, the event is G851
Is determined (S214). If the event that occurred is G851, the performance is stopped (S216).
The process proceeds to S100 shown in FIG. If it is determined that the event is not G851 (No in S214), the event processing subroutine ends.

【0031】以上、イベント処理のサブルーチンでは、
発生したイベントによって演奏を開始したり、停止させ
たりしている。
As described above, in the event processing subroutine,
The performance is started or stopped depending on the event that has occurred.

【0032】次に、演奏処理のサブルーチンについて、
図8のフローチャートを用いて説明する。
Next, the performance processing subroutine will be described.
This will be described with reference to the flowchart of FIG.

【0033】まず始めに、発生したイベントに対応する
楽曲を、図3に示すテーブルに基づいて選択し(S30
1)、選択された楽曲のMIDI演奏データをハードデ
ィスクから読み出し(S302)、演奏を開始すると共
に図3に示すテーブルに基づいて選択した楽曲の演奏時
間を演奏時間タイマーに設定する(S303)。その
後、演奏が開始されてから前記演奏時間タイマーに設定
された時間経過したか否かを判断し(S304)、演奏
時間タイマーに設定された時間が経過したら(S304
でYes)、楽曲の演奏を停止し(S305)、処理を
終える。
First, the music corresponding to the event that has occurred is selected based on the table shown in FIG. 3 (S30).
1) The MIDI performance data of the selected music is read from the hard disk (S302), the performance is started, and the performance time of the selected music is set in the performance time timer based on the table shown in FIG. 3 (S303). Thereafter, it is determined whether or not the time set in the performance time timer has elapsed since the performance was started (S304), and when the time set in the performance time timer has elapsed (S304).
Yes), the musical performance is stopped (S305), and the process ends.

【0034】次に、エラー処理のサブルーチンについて
図9のフローチャートに基づいて説明する。
Next, the error processing subroutine will be described with reference to the flowchart of FIG.

【0035】まず始めに、各軸のモータ23、29、3
5、39の回転を停止させ(S401)、発生したエラ
ーの種類を操作盤5のディスプレイ45に表示させる
(S402)。発生したエラーの種類は、例えば、主軸
サーボアンプ21において主軸電流値異常が発生した場
合、主軸サーボアンプ21からNC制御部17を介して
CPU7に主軸電流値異常の信号が入力され、CPU7
は、その入力信号によって判断できる。
First, the motors 23, 29, 3
The rotation of 5, 39 is stopped (S401), and the type of error that has occurred is displayed on the display 45 of the operation panel 5 (S402). The type of error that has occurred is, for example, when a spindle current value abnormality occurs in the spindle servo amplifier 21, a signal of the spindle current value abnormality is input from the spindle servo amplifier 21 to the CPU 7 via the NC control unit 17,
Can be determined from the input signal.

【0036】その後、前述した演奏処理のサブルーチン
をコールして(S403)、エラー処理のサブルーチン
を終える。
Thereafter, the subroutine of the performance process described above is called (S403), and the subroutine of the error process is terminated.

【0037】以上、エラー処理のサブルーチンでは、異
常が発生した箇所からCPU7に入力される信号に基づ
いて、そのアラームを表示すると共に各軸を停止させ、
同時にそのアラームに対応する楽曲を演奏する。
As described above, in the error processing subroutine, the alarm is displayed and each axis is stopped based on the signal input to the CPU 7 from the location where the abnormality has occurred.
At the same time, the music corresponding to the alarm is performed.

【0038】次に、プログラム演奏処理のサブルーチン
について、図10のフロチャートに基づいて説明する。
Next, the subroutine of the program performance processing will be described with reference to the flowchart of FIG.

【0039】まず始めに、G850の後に続くパラメー
タIによって指定される演奏曲番号を取得し、その番号
に対応するMIDI演奏データをHDD19からRAM
にロードする(S501)。図4に示す例では、Iの後
に1が設定されているため、図5に示すように演奏曲番
号1であるEN00001.MDIのファイルをRAM
にロードする。次に、パラメータIによって指定される
音量データを取得し、その音量データをMIDI音源9
に設定する(S502)。図4に示す例では、Kの後に
2が設定されているため、最大音量がMIDI音源9に
設定される。
First, a music piece number designated by the parameter I following G850 is obtained, and MIDI performance data corresponding to the number is obtained from the HDD 19 into the RAM.
(S501). In the example shown in FIG. 4, since 1 is set after I, as shown in FIG. 5, EN00001. MDI file to RAM
To load. Next, volume data specified by the parameter I is acquired, and the
Is set (S502). In the example shown in FIG. 4, since 2 is set after K, the maximum volume is set to the MIDI sound source 9.

【0040】その後、MIDI音源9に対して、演奏開
始の指令を出力し(S503)、プログラム演奏処理の
サブルーチンを終える。
Thereafter, a performance start command is output to the MIDI sound source 9 (S503), and the subroutine of the program performance process is completed.

【0041】以上のプログラム演奏処理のサブルーチン
では、加工プログラム中に記述された楽音の演奏指定に
対応する演奏処理を所望の音量で実施することができ
る。
In the above-described program performance processing subroutine, the performance processing corresponding to the performance specification of the musical tone described in the processing program can be performed at a desired volume.

【0042】尚、前記S301、S501の処理工程
は、楽曲選択手段として機能し、前記S303、S50
3の処理工程は、楽音再生手段として機能し、前記S2
16、S304、S305の処理工程は、楽音再生制御
手段として機能する。
Note that the processing steps of S301 and S501 function as music selection means,
The processing step 3 functions as a musical sound reproducing means,
The processing steps of S16, S304, and S305 function as tone reproduction control means.

【0043】以上説明したことから明らかなように本実
施の形態の工作機械では、加工中、あるいは異常が発生
した際、HDD19に記憶されたMIDI演奏データの
中から工作機械の状態に応じた楽曲を選択し、その選択
された楽曲をMIDI音源9によって再生しているた
め、工作機械の状態、例えば、発生したエラーの内容を
楽曲によって判断することができる。
As is apparent from the above description, in the machine tool of the present embodiment, during processing or when an abnormality occurs, music data corresponding to the state of the machine tool is selected from the MIDI performance data stored in the HDD 19. Is selected and the selected music is reproduced by the MIDI sound source 9, so that the state of the machine tool, for example, the content of the error that has occurred can be determined by the music.

【0044】尚、本発明は上述した実施の形態に示した
ものに限定されることなく、その要旨を逸脱しない範囲
内で種々の変更が可能である。例えば、本実施の形態の
所望の楽曲を選択演奏する命令では、所望の楽曲を演奏
曲番号によって指定するように構成されているが、演奏
曲番号指定の他に、予め演奏曲データをジャンル毎に分
類しておき、演歌、ニューミュージック等のジャンルを
指定するように構成してもよい。
It should be noted that the present invention is not limited to the embodiments described above, and various changes can be made without departing from the scope of the invention. For example, in the present embodiment, the instruction to select and play a desired music is configured so that the desired music is designated by the music number. And may be configured to specify a genre such as enka or new music.

【0045】[0045]

【発明の効果】以上説明したことから明かなように、請
求項1記載の工作機械装置では、加工中、あるいは異常
が発生した際、演奏情報記憶手段に記憶された演奏可能
な情報の中から工作機械の状態に応じた楽曲を選択し、
その選択された楽曲を楽音再生手段によって再生してい
るため、工作機械の状態、例えば、発生したエラーの内
容を演奏された楽曲によって判断することができる。
As is apparent from the above description, in the machine tool device according to the first aspect, during processing or when an abnormality occurs, the playable information stored in the performance information storage means is selected from the playable information. Select a song according to the state of the machine tool,
Since the selected music is reproduced by the musical sound reproducing means, the state of the machine tool, for example, the content of the error that has occurred can be determined based on the music played.

【0046】また、請求項2に記載の工作機械では、前
記楽曲選択手段によって選択された楽曲を所望の音量で
かつ所望の時間演奏させた後、前記楽音再生制御手段に
よって前記音楽再生手段を停止するため、演奏される時
間や音量によっても工作機械の状態を知ることができ
る。
In the machine tool according to the present invention, after the music selected by the music selecting means is played at a desired volume for a desired time, the music reproducing means is stopped by the musical sound reproducing control means. Therefore, the state of the machine tool can be known from the playing time and the volume.

【0047】また、請求項3に記載の工作機械は、工具
交換や主軸回転等の各命令の前後に所望の楽曲を選択演
奏する命令とその演奏を停止する命令とを設定し、各動
作毎に異なる楽曲を演奏させることができ、工作機械の
設置場所まで移動することなく、工作機械の現在の状態
を把握することができる。
The machine tool according to the third aspect of the present invention sets a command for selecting and playing a desired music and a command for stopping the performance before and after each command such as tool change and spindle rotation. Can play different songs, and can grasp the current state of the machine tool without moving to the installation location of the machine tool.

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

【図1】工作機械の構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of a machine tool.

【図2】操作盤の外観図である。FIG. 2 is an external view of an operation panel.

【図3】動作状態毎に演奏曲、音量、演奏時間を記憶す
るときのテーブルを示す図である。
FIG. 3 is a diagram showing a table for storing a music piece, a volume, and a performance time for each operation state;

【図4】演奏開始命令及び停止命令を用いた加工プログ
ラムの例を示す図である。自動運転処理フローチャート
である。
FIG. 4 is a diagram showing an example of a processing program using a performance start command and a stop command. It is an automatic operation processing flowchart.

【図5】演奏曲番号とファイル名とを対応させて記憶す
るときのテーブルを示す図である。
FIG. 5 is a diagram showing a table when storing a music piece number and a file name in association with each other.

【図6】自動運転の処理を示すフローチャートである。FIG. 6 is a flowchart showing a process of automatic driving.

【図7】イベント処理サブルーチンのフローチャートで
ある。
FIG. 7 is a flowchart of an event processing subroutine.

【図8】演奏処理サブルーチンのフローチャートであ
る。
FIG. 8 is a flowchart of a performance processing subroutine.

【図9】エラー処理サブルーチンのフローチャートであ
る。
FIG. 9 is a flowchart of an error processing subroutine.

【図10】プログラム演奏処理サブルーチンのフローチ
ャートである。
FIG. 10 is a flowchart of a program performance processing subroutine.

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

1 ROM 3 RAM 7 CPU 9 MIDI音源 13 スピーカー 19 HDD 21 主軸用サーボアンプ 23 主軸用サーボ DESCRIPTION OF SYMBOLS 1 ROM 3 RAM 7 CPU 9 MIDI sound source 13 Speaker 19 HDD 21 Servo amplifier for spindle 23 Servo for spindle

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 加工プログラムに従って加工を行う工作
機械において、 複数の楽曲を演奏可能な情報として記憶する演奏情報記
憶手段と、 加工中、異常発生等の工作機械の状態に対応して前記演
奏情報記憶手段の中から所望の楽曲を選択する楽曲選択
手段と、 前記楽曲選択手段によって選択された楽曲を再生する楽
音再生手段とを備えたことを特徴とする工作機械。
1. A machine tool for performing machining in accordance with a machining program, a performance information storage means for storing a plurality of music pieces as playable information, and the performance information corresponding to a state of the machine tool such as machining or occurrence of an abnormality. A machine tool comprising: a music selection means for selecting a desired music piece from a storage means; and a tone reproduction means for reproducing the music piece selected by the music selection means.
【請求項2】 前記演奏情報記憶手段に、各楽曲に対応
した音量、演奏時間を記憶させ、 前記楽音再生手段によって再生された楽曲を前記演奏情
報記憶手段に記憶された演奏時間経過した後停止するよ
うに前記楽音再生手段を制御する楽音再生制御手段を備
えたことを特徴とする請求項1に記載の工作機械。
2. The musical performance and the musical time corresponding to each music are stored in said musical performance information storing means, and the musical composition reproduced by said musical sound reproducing means is stopped after the musical performance time stored in said musical performance information storing means elapses. 2. The machine tool according to claim 1, further comprising a tone reproduction control means for controlling the tone reproduction means so as to perform the operation.
【請求項3】 前記加工プログラム中に、前記演奏情報
記憶手段に記憶された楽曲の中から所望の楽曲を選択演
奏する命令と、その演奏の実行を中止する命令とを有
し、 前記各命令を解析する解析手段を備えたことを特徴とす
る請求項1に記載の工作機械。
3. The processing program includes an instruction to select and play a desired music piece from the music pieces stored in the performance information storage means, and an instruction to stop execution of the performance. The machine tool according to claim 1, further comprising an analyzing unit configured to analyze the machine tool.
JP23294296A 1996-09-03 1996-09-03 Machine tool Pending JPH1076445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23294296A JPH1076445A (en) 1996-09-03 1996-09-03 Machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23294296A JPH1076445A (en) 1996-09-03 1996-09-03 Machine tool

Publications (1)

Publication Number Publication Date
JPH1076445A true JPH1076445A (en) 1998-03-24

Family

ID=16947274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23294296A Pending JPH1076445A (en) 1996-09-03 1996-09-03 Machine tool

Country Status (1)

Country Link
JP (1) JPH1076445A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016015516A1 (en) 2015-12-25 2017-06-29 Fanuc Corporation A numerical control unit comprising means for checking an execution status of a program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016015516A1 (en) 2015-12-25 2017-06-29 Fanuc Corporation A numerical control unit comprising means for checking an execution status of a program
US10732616B2 (en) 2015-12-25 2020-08-04 Fanuc Corporation Numerical controller including means for checking execution status of program
DE102016015516B4 (en) 2015-12-25 2024-06-06 Fanuc Corporation Numerical control unit comprising means for checking an execution status of a program

Similar Documents

Publication Publication Date Title
CN102969009B (en) Multitrack recording machine
JPH04328376A (en) Recording and reproducing device
JP2002236506A (en) Control system for machine tool
JPH1076445A (en) Machine tool
JP2021068005A (en) Programming support device, programming support system, and programming support method
US7840291B2 (en) Digital recorder
JPS60246079A (en) Music scan method
US20240036551A1 (en) Numerical control device, numerical control system, and silencing method
JPH06259832A (en) Information reproducing device
JPH02294985A (en) Cd reproducing device
JPH0330143A (en) Operating mode identification device for tape recorder
JP7192152B1 (en) Display controller and machine tool
JPH0518114B2 (en)
JPH03222148A (en) Method for reproducing on-vehicle audio device
JPS6047287A (en) Magnetic recording and reproducing device
JPH06119021A (en) Operation system for controller
JPS63120056A (en) Machine tool with numerically controlled device
JP2928558B2 (en) Timer control circuit
JP3711575B2 (en) Voice editing apparatus, voice editing method, and voice editing system
KR910003462B1 (en) Control method of power supply to cdp
KR0133171B1 (en) Automatic repeat reproducing apparatus for tape recorder
JPH0552503B2 (en)
JPH0629825Y2 (en) Digital audio equipment
JP2014041679A (en) Multi-track recorder
JPS63220464A (en) Optical disk reproducing device