JP2009163607A - Numerical control device having alarm cause display function - Google Patents

Numerical control device having alarm cause display function Download PDF

Info

Publication number
JP2009163607A
JP2009163607A JP2008002115A JP2008002115A JP2009163607A JP 2009163607 A JP2009163607 A JP 2009163607A JP 2008002115 A JP2008002115 A JP 2008002115A JP 2008002115 A JP2008002115 A JP 2008002115A JP 2009163607 A JP2009163607 A JP 2009163607A
Authority
JP
Japan
Prior art keywords
alarm
numerical control
control device
message
abnormality
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
JP2008002115A
Other languages
Japanese (ja)
Inventor
Heisuke Iwashita
平輔 岩下
Hajime Okita
肇 置田
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP2008002115A priority Critical patent/JP2009163607A/en
Publication of JP2009163607A publication Critical patent/JP2009163607A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)
  • Alarm Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a numerical control device having an alarm cause display function, which attains memory saving by reducing information related to alarm. <P>SOLUTION: The numerical control device 10 which outputs a drive instruction 7 to an amplifier 3 for driving a motor 4 or the numerical control device 10 having the function of diagnosing operation states of peripheral devices 2, 3 and 4 includes a storage device 5 which stores an alarm message showing an abnormality of the operating states and information specifying the cause of the abnormality as additive information composed of Arabic numeral, alphabet or a combination of Arabic numeral and alphabet; and the alarm cause display function which selects, in the event of an abnormality in the numerical control device 10 or the peripheral devices 2, 3 and 4, the alarm message and additive information corresponding to the abnormality from a memory 5 to form a message, and requests a display device 2 to display the formed message. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、工作機械や産業用機械などの機械を制御する数値制御装置に関し、特に、アラーム原因表示機能を有する数値制御装置に関する。   The present invention relates to a numerical control device that controls machines such as machine tools and industrial machines, and more particularly to a numerical control device having an alarm cause display function.

数値制御装置には、異常が発生した場合に通知する数百から数千種類のアラームがある。そして、数値制御装置や数値制御装置が制御する機械において何らかの異常が発生した場合に、異常の内容を表すアラームメッセージを数値制御装置が有する表示装置に表示することが行われている。   There are hundreds to thousands of types of alarms in the numerical control device that notify when an abnormality occurs. When an abnormality occurs in the numerical control device or the machine controlled by the numerical control device, an alarm message indicating the content of the abnormality is displayed on a display device included in the numerical control device.

これらのアラームの中には、複数の原因で発生するアラームが存在する。複数の原因からなるアラームであっても、アラームメッセージとしては結果としての異常を表示するのみである場合が一般的である。例えば、位置誤差が大きすぎる異常が発生した場合、「位置誤差過大」というようなアラームメッセージが表示される。その異常の発生原因としては、モータやアンプの異常など複数の原因がありうる。そのため、複数の原因により発生するアラームメッセージはその発生原因の特定に時間がかかっている。   Among these alarms, there are alarms that occur due to a plurality of causes. Even in the case of an alarm having a plurality of causes, the alarm message generally only displays the resulting abnormality. For example, when an abnormality in which the position error is too large occurs, an alarm message such as “excessive position error” is displayed. The cause of the abnormality can be a plurality of causes such as a motor or amplifier abnormality. For this reason, it takes time to identify the cause of the alarm message generated by a plurality of causes.

特許文献1には、アラームが発生する複数の原因のうち、数値制御装置自体で原因特定を行い、その結果を表示する数値制御装置の技術が開示されている。この特許文献1に開示される数値制御装置の技術では、表示自体は分かり易くなるものの、メッセージの内容が膨大になり、それらのメッセージを記憶しておく記憶装置(メモリ)が大量に必要となる。   Patent Document 1 discloses a technique of a numerical control device that identifies a cause among a plurality of causes that cause an alarm by the numerical control device itself and displays the result. In the technique of the numerical control device disclosed in Patent Document 1, although the display itself is easy to understand, the content of the message becomes enormous, and a large amount of storage device (memory) for storing these messages is required. .

また、異常の発生の履歴を残す場合に、そのような大量のメッセージを持つものを過去長い時間に遡って残そうとすると、大量の記憶装置(メモリ)が必要となっている。   In addition, in order to leave a history of occurrence of anomalies, if a message having such a large amount of messages is to be traced back to a long time in the past, a large amount of storage device (memory) is required.

特開平7−234987号公報JP-A-7-234987

アラーム発生原因として複数の原因が考えられる場合、結果としてのアラームメッセージを表示するのみでは、数値制御装置のオペレータがアラームの発生原因を特定するのに時間がかかる。   When a plurality of causes can be considered as the cause of occurrence of an alarm, it takes time for the operator of the numerical controller to specify the cause of occurrence of the alarm only by displaying the resulting alarm message.

異常の発生原因の解析ができたとき、その異常の原因ごとにアラームメッセージを用意して数値制御装置に記憶させておくには、そのための大量のメモリが必要となる。また、異常の原因とアラームメッセージとを履歴として保存する際にも、メッセージ内容が複雑であると全部の情報を残すために大量のメモリが必要になる。そのため、数値制御装置が大型化し高額化する問題がある。
一方、アラームメッセージそのものの数は多数にあるものの、アラームメッセージや異常の原因を特定する追加情報それ自体は工作機械や産業用機械などの機械を制御するという本来の数値制御装置の機能に直接関係するものではない。
When the cause of the abnormality can be analyzed, a large amount of memory is required to prepare an alarm message for each cause of the abnormality and store it in the numerical controller. Also, when storing the cause of an abnormality and an alarm message as a history, if the message content is complicated, a large amount of memory is required to leave all information. Therefore, there is a problem that the numerical control device becomes large and expensive.
On the other hand, although there are many alarm messages themselves, the alarm messages and additional information for identifying the cause of the abnormality itself are directly related to the functions of the original numerical control device for controlling machines such as machine tools and industrial machines. Not what you want.

そこで、本発明は、アラームに関連する情報を削減しそれらの情報を記憶するためのメモリを節約可能なアラーム原因表示機能を有する数値制御装置を提供することである。   Therefore, the present invention is to provide a numerical control apparatus having an alarm cause display function capable of reducing information related to an alarm and saving a memory for storing the information.

本願の請求項1に係る発明は、数値制御装置、あるいは該数値制御装置が制御する機械の異常を検出する機能を有する数値制御装置において、前記数値制御装置や前記機械で発生する動作状態の異常を表すアラームメッセージを記憶するアラームメッセージ記憶手段と、前記異常の原因を特定する情報をアラビア数字、または、アルファベット、または、アラビア数字とアルファベットとの組み合わせによって表す追加情報として記憶する追加情報記憶手段と、前記数値制御装置、あるいは前記機械に異常が発生した場合、該異常に対応したアラームメッセージおよび追加情報を前記アラームメッセージ記憶手段と前記追加情報記憶手段とから選択しメッセージを作成するメッセージ作成手段と、
前記メッセージ作成手段により作成されたアラームメッセージおよび追加情報とからなるメッセージを表示する表示手段と、を備えたアラーム原因表示機能を有する数値制御装置である。
The invention according to claim 1 of the present application relates to a numerical control device or a numerical control device having a function of detecting an abnormality of a machine controlled by the numerical control device, and an abnormality in an operation state generated in the numerical control device or the machine. Alarm message storage means for storing an alarm message representing the above, and additional information storage means for storing information identifying the cause of the abnormality as additional information represented by Arabic numerals, alphabets, or a combination of Arabic numerals and alphabets, A message creation means for creating a message by selecting an alarm message and additional information corresponding to the abnormality from the alarm message storage means and the additional information storage means when an abnormality occurs in the numerical control device or the machine; ,
A numerical control apparatus having an alarm cause display function, comprising display means for displaying a message comprising an alarm message and additional information created by the message creation means.

請求項2に係る発明は、前記メッセージ作成手段により作成されたアラームメッセージおよび追加情報からなるメッセージを履歴情報として記憶する異常発生履歴記憶手段を備えた請求項1に記載のアラーム原因表示機能を有する数値制御装置である。   The invention according to claim 2 has the alarm cause display function according to claim 1, further comprising an abnormality occurrence history storage means for storing, as history information, a message comprising the alarm message created by the message creation means and additional information. It is a numerical control device.

請求項3に係る発明は、前記追加情報は所定の体系に従って形成されていることを特徴とする請求項1または2のいずれか一つに記載のアラーム原因表示機能を有する数値制御装置である。   The invention according to claim 3 is the numerical control apparatus having an alarm cause display function according to claim 1, wherein the additional information is formed according to a predetermined system.

本発明により、数値制御装置が有する数百から数千のアラームに関連する情報を記憶するためのメモリを節約したアラーム原因表示機能を有する数値制御装置を提供することが可能である。
また、本発明により、アラームメッセージに、アラームの原因内容を示す簡単な追加情報を付加することで、少ないメモリでアラーム原因を特定する表示が可能である。
また、アラームメッセージと追加情報とを一緒に履歴情報として残すことが可能であり、少ないメモリでも異常情報の履歴の充実を図ることが可能なアラーム原因表示機能を有する数値制御装置を提供することができる。
According to the present invention, it is possible to provide a numerical control device having an alarm cause display function that saves a memory for storing information related to hundreds to thousands of alarms of the numerical control device.
Further, according to the present invention, by adding simple additional information indicating the cause of the alarm to the alarm message, it is possible to display the cause of the alarm with a small amount of memory.
It is also possible to provide a numerical control device having an alarm cause display function that can leave alarm messages and additional information together as history information, and can enhance the history of abnormality information even with a small amount of memory. it can.

本発明に用いられる追加情報は所定の体系に従って構成されており、数値制御装置や機械のオペレータがアラームの発生原因の概略を速やかに把握することが可能である。   The additional information used in the present invention is configured according to a predetermined system, so that the numerical control device and the machine operator can quickly grasp the outline of the cause of the alarm.

以下、本発明の実施の形態を図面とともに説明する。図1は本発明を説明するための概略ブロック図である。本発明であるアラーム原因表示機能を有する数値制御装置10は、加工プログラムを解析し実行することによりアンプ3に対してドライブ指令7を指令する。アンプ3はドライブ指令7に基づきモータ4を駆動する。そして、モータ4に備えられた位置・速度検出器(図示しない)による位置・速度の情報が、フィードバック情報8として数値制御装置10に入力される。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a schematic block diagram for explaining the present invention. The numerical control device 10 having an alarm cause display function according to the present invention instructs the amplifier 3 to drive the drive command 7 by analyzing and executing the machining program. The amplifier 3 drives the motor 4 based on the drive command 7. Then, position / speed information by a position / speed detector (not shown) provided in the motor 4 is input to the numerical controller 10 as feedback information 8.

数値制御装置10には制御ソフト1が組み込まれている。制御ソフト1はアラーム検出部1a、アラーム原因推定部1b、及びメッセージ作成部1cを有する。数値制御装置10や数値制御装置10に接続される工作機械や産業用機械などの周辺機器に異常が発生した際に、制御ソフト1は、異常をアラーム検出部1aにより検出し、アラーム原因推定部1bによりアラーム原因を特定する。アラーム原因が特定されると、当該制御ソフト1は、メモリ5Aからアラームメッセージ及び追加情報を読み出し要求し(アラームメッセージ及び追加情報読み出し要求9a)、表示装置2にメッセージ表示を要求したり、メモリ5Bにアラーム発生履歴を記憶するように要求(アラーム履歴記憶要求9b)したりする。制御ソフト1は後述する数値制御装置10のROM12(図4参照)に組み込まれるソフトウェアである。   Control software 1 is incorporated in the numerical controller 10. The control software 1 includes an alarm detection unit 1a, an alarm cause estimation unit 1b, and a message creation unit 1c. When an abnormality occurs in a peripheral device such as a numerical control device 10 or a machine tool or an industrial machine connected to the numerical control device 10, the control software 1 detects the abnormality by the alarm detection unit 1a, and an alarm cause estimation unit The cause of the alarm is specified by 1b. When the cause of the alarm is specified, the control software 1 requests to read out the alarm message and additional information from the memory 5A (alarm message and additional information read request 9a), and requests the display device 2 to display the message, or the memory 5B. Request to store the alarm occurrence history (alarm history storage request 9b). The control software 1 is software that is incorporated in a ROM 12 (see FIG. 4) of the numerical controller 10 described later.

図2は図1に示されるメモリ5A、メモリ5Bに格納される情報の概略を説明する図である。メモリ5Aはアラームメッセージ記憶領域5Aa及び追加情報記憶領域5Abを有する。一方、メモリ5Bはアラーム発生履歴記憶領域5Bcを有する。図1に示されるメモリ5Aは一例としてROMで構成される。一方、メモリ5Bは一例としてSRAMで構成される。SRAMはデータの書き込みと読み出しが可能なRAMの一種である。本発明のアラーム原因表示機能を有する数値制御装置10(図4参照)では、SRAM13はバッテリーでバックアップさており不揮発性メモリとして機能している。   FIG. 2 is a diagram for explaining an outline of information stored in the memory 5A and the memory 5B shown in FIG. The memory 5A has an alarm message storage area 5Aa and an additional information storage area 5Ab. On the other hand, the memory 5B has an alarm occurrence history storage area 5Bc. The memory 5A shown in FIG. 1 is composed of a ROM as an example. On the other hand, the memory 5B is configured by SRAM as an example. SRAM is a kind of RAM that can write and read data. In the numerical controller 10 (see FIG. 4) having the alarm cause display function of the present invention, the SRAM 13 is backed up by a battery and functions as a nonvolatile memory.

図3は、数値制御装置10に備えられた表示装置2に表示されるアラームメッセージ及び追加情報からなるメッセージの一例を示している。   FIG. 3 shows an example of an alarm message displayed on the display device 2 provided in the numerical controller 10 and a message composed of additional information.

図1に示される表示装置2に表示されるアラームメッセージに付加される追加情報とその意味内容を説明した対応表が、マニュアルなどとしてあらかじめ作成される。当該マニュアルは、紙の媒体、PDFファイルを記憶した電子媒体などが用いられる。   A correspondence table explaining the additional information added to the alarm message displayed on the display device 2 shown in FIG. 1 and the meaning of the information is created in advance as a manual or the like. For the manual, a paper medium, an electronic medium storing a PDF file, or the like is used.

数値制御装置10や数値制御装置10が制御する機械を操作するオペレータは、表示装置2に表示される追加情報に関する意味内容をマニュアルなどから探し出すことができる。このようにすることにより、数値制御装置10に内蔵されるメモリの節約及びより有効な処理に使用することができる。   An operator who operates the numerical control device 10 or a machine controlled by the numerical control device 10 can find out the meaning content related to the additional information displayed on the display device 2 from a manual or the like. By doing so, it is possible to save the memory built in the numerical controller 10 and use it for more effective processing.

追加情報は、所定の体系に従って作成する。例えば、アルファベットとアラビア数字とを組み合わせて、異常発生の原因がアンプの場合、接頭辞として“A”、モータの場合、接頭辞として“B”、検出器の場合、接頭辞として“C”という体系を作成しておいて、
A1:アンプのトランジスタモジュール異常
A2:アンプの電流検出素子異常
B1:モータの巻線短絡
B2:モータの巻線断線
C1:検出器自体の出力信号異常
C2:検出器の出力信号への過大なノイズ混入
というように原因が分類されている場合、数値制御装置や機械のオペレータは、接頭辞を見るだけでアラーム発生原因の概略を即座に把握することが可能である。
The additional information is created according to a predetermined system. For example, combining alphabets and Arabic numerals, if the cause of the abnormality is an amplifier, the prefix is “A”, if the motor is “A”, the prefix is “B”, and if the detector is a detector, the prefix is “C”. Create a system,
A1: Amplifier transistor module abnormality A2: Amplifier current detection element abnormality B1: Motor winding short circuit B2: Motor winding disconnection C1: Detector output signal abnormality C2: Excessive noise in detector output signal When the causes are classified as mixing, the numerical control device and the machine operator can immediately grasp the outline of the cause of the alarm by simply looking at the prefix.

図4は本発明であるアラーム原因表示機能を有する数値制御装置10の実施形態の概略ブロック図である。図4において、数値制御装置10は工作機械や産業用機械などの機械を制御する装置である。プロセッサ(CPU)11は数値制御装置10を全体的に制御するプロセッサである。プロセッサ(CPU)11はバス20を介してROM12に格納されたシステムプログラムを読み出し、このシステムプログラムに従って数値制御装置10を全体的に制御する。   FIG. 4 is a schematic block diagram of an embodiment of the numerical controller 10 having an alarm cause display function according to the present invention. In FIG. 4, a numerical control device 10 is a device that controls machines such as machine tools and industrial machines. The processor (CPU) 11 is a processor that controls the numerical controller 10 as a whole. The processor (CPU) 11 reads a system program stored in the ROM 12 via the bus 20 and controls the numerical controller 10 as a whole in accordance with this system program.

ROM12に格納されているシステムプログラムには、加工プログラムの作成及び編集のために必要となる編集モードの処理や自動運転のための再生モードの処理を実施するための各種のものがある。また、このROM12には、数値制御装置10や数値制御装置10が制御する工作機械や産業用機械の異常検出のためのプログラムや、異常を検出した際にSRAM13への記憶や、SRAM13からのデータの転送を行う転送プログラムが格納されている。また、ROM12は前述したとおり、アラームメッセージ及び追加情報をそれぞれの記憶領域に予め記憶している。   The system program stored in the ROM 12 includes various programs for executing an edit mode process necessary for creating and editing a machining program and a reproduction mode process for automatic operation. The ROM 12 stores a numerical control device 10, a program for detecting an abnormality of a machine tool or an industrial machine controlled by the numerical control device 10, a storage in the SRAM 13 when an abnormality is detected, and a data from the SRAM 13. A transfer program for performing the transfer is stored. Further, as described above, the ROM 12 stores alarm messages and additional information in respective storage areas in advance.

SRAM13はデータの書き込みと読み出しが可能なRAMの一種である。SRAM13は前述したとおりアラーム発生履歴記憶領域5Bcの記憶領域を有する(図2(b)参照)。図1に示されるメモリ5Bは一例としてSRAM13で構成される。   The SRAM 13 is a kind of RAM that can write and read data. As described above, the SRAM 13 has a storage area of the alarm occurrence history storage area 5Bc (see FIG. 2B). As an example, the memory 5B shown in FIG.

SRAM13は図示しないバッテリーでバックアップされ不揮発性メモリとして機能し、一時的な計算データや、LCD/MDIユニット21を介してオペレータが入力した各種データがデータ領域に格納されている。   The SRAM 13 is backed up by a battery (not shown) and functions as a nonvolatile memory. Temporary calculation data and various data input by the operator via the LCD / MDI unit 21 are stored in the data area.

また、SRAM13には、インタフェース14を介して読み込まれた加工プログラムやLCD/MDIユニット21を介して入力された加工プログラム等が記憶されるようになっている。LCD/MDIユニット21は液晶表示装置と手動入力装置とから構成されている。   Further, the SRAM 13 stores a machining program read via the interface 14, a machining program input via the LCD / MDI unit 21, and the like. The LCD / MDI unit 21 is composed of a liquid crystal display device and a manual input device.

インタフェース14は数値制御装置10に接続可能な外部機器のためのインタフェースであり、入出力手段や外部記憶装置などの外部機器23が接続されている。入出力手段や外部記憶装置等からは加工プログラム等が読み込まれ、また、数値制御装置10内で編集された加工プログラムを入出力手段や外部記憶装置に出力することが可能である。   The interface 14 is an interface for an external device that can be connected to the numerical control device 10, and is connected to an external device 23 such as an input / output unit or an external storage device. A machining program or the like is read from the input / output means or the external storage device, and the machining program edited in the numerical controller 10 can be output to the input / output means or the external storage device.

PMC(プログラマブル・マシン・コントローラ)15は、数値制御装置10内に内蔵されたシーケンスプログラムで加工機械側の補助装置、例えば、工具交換用のアクチュエータを制御する。例えば、加工プログラムで指令されたM機能、S機能、及びT機能に従って、これらシーケンスプログラムによって補助装置側で必要な信号に変換し、I/Oユニット16から補助装置側に出力される。この出力信号により各種アクチュエータなどの補助装置が作動する。   A PMC (programmable machine controller) 15 controls an auxiliary device on the processing machine side, for example, an actuator for tool change, by a sequence program built in the numerical controller 10. For example, in accordance with the M function, S function, and T function commanded by the machining program, these sequence programs convert the signals into necessary signals on the auxiliary device side and output them from the I / O unit 16 to the auxiliary device side. Auxiliary devices such as various actuators are activated by this output signal.

工作機械の各軸の現在位置、アラーム、パラメータ、及び画像データ等の画像信号は、LCD/MDIユニット21に送られ、LCD/MDIユニット21に備わった液晶表示装置からなるディスプレイに表示される。LCD/MDIユニット21はディスプレイやキーボード等を備えた入力装置である。   Image signals such as the current position of each axis of the machine tool, alarms, parameters, and image data are sent to the LCD / MDI unit 21 and displayed on a display comprising a liquid crystal display device provided in the LCD / MDI unit 21. The LCD / MDI unit 21 is an input device provided with a display, a keyboard, and the like.

インタフェース18はLCD/MDIユニット21のキーボードからデータを受けてプロセッサ(CPU)11に渡す。また、数値制御装置10や数値制御装置10が制御する機械に異常が発生した場合には、アラームの種類及び後述する追加情報からなるアラーム原因をLCD/MDIユニット21のディスプレイ画面に表示し、数値制御装置10などの異常発生を報知する。   The interface 18 receives data from the keyboard of the LCD / MDI unit 21 and passes it to the processor (CPU) 11. When an abnormality occurs in the numerical control device 10 or the machine controlled by the numerical control device 10, an alarm cause including an alarm type and additional information described later is displayed on the display screen of the LCD / MDI unit 21, and numerical values are displayed. The occurrence of an abnormality in the control device 10 or the like is notified.

インタフェース19は手動パルス発生器22に接続され、手動パルス発生器22からのパルスを受ける。手動パルス発生器22は工作機械本体の操作盤に実装され、手動操作に基づく分配パルスによる各軸制御で工作機械の可動部を精密に位置決めするために使用される。   Interface 19 is connected to manual pulse generator 22 and receives pulses from manual pulse generator 22. The manual pulse generator 22 is mounted on the operation panel of the machine tool main body, and is used to precisely position the movable part of the machine tool by controlling each axis by a distribution pulse based on manual operation.

軸制御回路30〜50はプロセッサ(CPU)11からの各軸の移動指令を受けて、各軸の指令をサーボアンプ31〜51に出力する。サーボアンプ31〜51はこの指令を受けて、工作機械各軸のサーボモータ32〜52を駆動する。この場合、サーボモータ32〜52の各々はテーブル移動用の直線移動軸X、Y、Z軸の駆動に用いられる。   The axis control circuits 30 to 50 receive the movement command for each axis from the processor (CPU) 11 and output the command for each axis to the servo amplifiers 31 to 51. In response to this command, the servo amplifiers 31 to 51 drive the servo motors 32 to 52 of each axis of the machine tool. In this case, each of the servo motors 32 to 52 is used to drive the linear movement axes X, Y, and Z for table movement.

各軸のサーボモータ32〜52には位置・速度検出用の検出器が内蔵されており、この検出器からの位置データが軸制御回路30〜50にそれぞれフィードバックされる。なお、この位置データは、差分を取ることによって速度データを生成することができる。図4では、これらの位置・速度のフィードバック信号については記載を省略している。   The servomotors 32 to 52 for each axis incorporate a detector for position / speed detection, and position data from this detector is fed back to the axis control circuits 30 to 50 respectively. Note that the position data can generate speed data by taking a difference. In FIG. 4, description of these position / velocity feedback signals is omitted.

スピンドル制御回路60はプロセッサ(CPU)11からの工作機械への主軸回転指令を受け、スピンドルアンプ61にスピンドル速度指令を出力する。スピンドルアンプ61はこのスピンドル速度指令を受けて、工作機械に指令された切削回転速度で主軸モータ62を回転させる。主軸モータ62には、歯車あるいはベルト等でポジションコーダが接続され、該ポジションコーダが主軸の回転に同期して帰還パルスを出力し、その帰還パルスはバス20を経由してプロセッサ(CPU)11によって読み取られる。図4では、これらの帰還パルスに関連する構成については記載を省略している。   The spindle control circuit 60 receives a spindle rotation command to the machine tool from the processor (CPU) 11 and outputs a spindle speed command to the spindle amplifier 61. Upon receiving this spindle speed command, the spindle amplifier 61 rotates the spindle motor 62 at the cutting rotational speed commanded to the machine tool. A position coder is connected to the spindle motor 62 by a gear or a belt, and the position coder outputs a feedback pulse in synchronism with the rotation of the spindle. Read. In FIG. 4, the configuration related to these feedback pulses is omitted.

また、バス20には信号伝送路との間で信号の授受を行うI/Oユニット17が接続される。I/Oユニット17の他方側にはネットワークや電話回線が接続される。   The bus 20 is connected to an I / O unit 17 that exchanges signals with a signal transmission path. A network and a telephone line are connected to the other side of the I / O unit 17.

プロセッサ(CPU)11は、数値制御装置10などに異常が発生した場合、アラーム情報や異常発生時の数値制御装置10のパラメータや異常発生時までの操作履歴等のデータ等の異常解析に用いる解析データをSRAM13から読み出し、アラーム原因発生履歴情報としてSRAM13に格納しておくことが可能である。
このように、簡略化され体系化された追加情報を採用することにより、ROMやSRAMなどの記憶装置を削減することが可能であると共に、追加情報がアルファベット、アラビア数字、または、それらの組み合わせから構成されていることから、数値制御装置や周辺装置、数値制御装置が制御する機械に異常が発生したとき、使用言語によらず共通の表示が可能であり、保守点検業務を効率的に実施できる。
When an abnormality occurs in the numerical control device 10 or the like, the processor (CPU) 11 performs analysis used for abnormality analysis such as alarm information, parameters of the numerical control device 10 when the abnormality occurs, data such as operation history until the abnormality occurs, and the like. Data can be read from the SRAM 13 and stored in the SRAM 13 as alarm cause occurrence history information.
Thus, by adopting simplified and systematized additional information, it is possible to reduce storage devices such as ROM and SRAM, and the additional information can be derived from alphabets, Arabic numerals, or combinations thereof. Because it is configured, when an abnormality occurs in the numerical control device, peripheral devices, or the machine controlled by the numerical control device, a common display is possible regardless of the language used, enabling efficient maintenance and inspection work. .

図5は制御ソフト1が実行するアルゴリズムを示すフローチャートの例である。以下、各ステップに従って説明する。数値制御装置10は、制御ソフト1により数値制御装置10や数値制御装置10が制御する機械の動作状態を常に診断する(ステップS1)。診断により異常(アラーム)があれば(ステップS2)、異常(アラーム)の原因を推定する(ステップS3)。ステップS3の推定結果に基づき、数値制御装置10のROM12に記憶されているアラームメッセージ及び追加情報を読み出し、メッセージを作成する(ステップS4)。作成されたメッセージを表示装置2に表示し(ステップS5)、終了する。   FIG. 5 is an example of a flowchart showing an algorithm executed by the control software 1. Hereinafter, it demonstrates according to each step. The numerical controller 10 always diagnoses the operation state of the numerical controller 10 and the machine controlled by the numerical controller 10 using the control software 1 (step S1). If there is an abnormality (alarm) by diagnosis (step S2), the cause of the abnormality (alarm) is estimated (step S3). Based on the estimation result of step S3, the alarm message and additional information stored in the ROM 12 of the numerical controller 10 are read out and a message is created (step S4). The created message is displayed on the display device 2 (step S5), and the process ends.

図6は制御ソフト1が実行するアルゴリズムを示すフローチャートの他の例である。このフローチャートはメッセージを記憶するステップを含んでいる。以下、各ステップに従って説明する。数値制御装置10は、制御ソフト1により数値制御装置10や数値制御装置10が制御する機械の動作状態を常に診断する(ステップT1)。診断により異常(アラーム)があれば(ステップT2)、異常(アラーム)の原因を推定する(ステップT3)。ステップT3の推定結果に基づき、数値制御装置10のROM12に記憶されているアラームメッセージ及び追加情報を読み出し、メッセージを作成する(ステップT4)。作成されたメッセージを異常(アラーム)発生履歴情報としてSRAM13に格納して終了する(ステップT5)。なお、履歴情報として格納された異常(アラーム)発生履歴情報は、オペレータによる所定の操作により、表示装置2に表示させたり、数値制御装置10の外部の記憶装置などに記憶させたりできる。   FIG. 6 is another example of a flowchart showing an algorithm executed by the control software 1. The flowchart includes storing a message. Hereinafter, it demonstrates according to each step. The numerical controller 10 always diagnoses the operation state of the numerical controller 10 and the machine controlled by the numerical controller 10 using the control software 1 (step T1). If there is an abnormality (alarm) by diagnosis (step T2), the cause of the abnormality (alarm) is estimated (step T3). Based on the estimation result of step T3, the alarm message and additional information stored in the ROM 12 of the numerical controller 10 are read out and a message is created (step T4). The created message is stored in the SRAM 13 as abnormality (alarm) occurrence history information, and the process ends (step T5). The abnormality (alarm) occurrence history information stored as history information can be displayed on the display device 2 or stored in a storage device outside the numerical control device 10 by a predetermined operation by the operator.

本発明を説明するための概略ブロック図である。It is a schematic block diagram for demonstrating this invention. 図1に示されるメモリ5A、及び、メモリ5Bに格納される情報の概略を説明する図である。It is a figure explaining the outline of the information stored in the memory 5A shown in FIG. 1, and the memory 5B. 数値制御装置10に備えられた表示装置2に表示されるアラームの一例である。3 is an example of an alarm displayed on a display device 2 provided in the numerical controller 10. 本発明であるアラーム原因表示機能を有する数値制御装置10の実施形態の概略ブロック図である。It is a schematic block diagram of embodiment of the numerical control apparatus 10 which has an alarm cause display function which is this invention. 制御ソフト1が実行するアルゴリズムを示すフローチャートの例である。It is an example of the flowchart which shows the algorithm which the control software 1 performs. 制御ソフト1が実行するアルゴリズムを示すフローチャートのその他の例である。It is another example of the flowchart which shows the algorithm which the control software 1 performs.

符号の説明Explanation of symbols

1 制御ソフト
2 表示装置
3 アンプ
4 モータ
5A メモリ
5Aa アラームメッセージ記憶領域
5Ab 追加情報記憶領域
5B メモリ
5Bc アラーム発生履歴記憶領域
6 メッセージ表示要求
7 ドライブ指令
8 フィードバック情報
9a アラームメッセージ及び追加情報読み出し要求
9b アラーム履歴記憶要求
10 数値制御装置
11 プロセッサ(CPU)
12 ROM
13 SRAM
14 インタフェース
15 PMC(プログラマブル・マシン・コントローラ)
16 I/Oユニット
17 I/Oユニット
18 インタフェース
19 インタフェース
20 バス
21 LCD/MDIユニット
22 手動パルス発生器
23 外部機器
30,40,50 軸制御回路
31,41,51 サーボアンプ
32,42,52 サーボモータ
60 スピンドル制御回路
61 スピンドルアンプ
62 主軸モータ
DESCRIPTION OF SYMBOLS 1 Control software 2 Display apparatus 3 Amplifier 4 Motor 5A Memory 5Aa Alarm message storage area 5Ab Additional information storage area 5B Memory 5Bc Alarm generation history storage area 6 Message display request 7 Drive command 8 Feedback information 9a Alarm message and additional information read request 9b Alarm History storage request 10 Numerical control device 11 Processor (CPU)
12 ROM
13 SRAM
14 Interface 15 PMC (Programmable Machine Controller)
16 I / O unit 17 I / O unit 18 Interface 19 Interface 20 Bus 21 LCD / MDI unit 22 Manual pulse generator 23 External device 30, 40, 50 Axis control circuit 31, 41, 51 Servo amplifier 32, 42, 52 Servo Motor 60 Spindle control circuit 61 Spindle amplifier 62 Spindle motor

Claims (3)

数値制御装置、あるいは該数値制御装置が制御する機械の異常を検出する機能を有する数値制御装置において、
前記数値制御装置や前記機械で発生する動作状態の異常を表すアラームメッセージを記憶するアラームメッセージ記憶手段と、
前記異常の原因を特定する情報をアラビア数字、または、アルファベット、または、アラビア数字とアルファベットとの組み合わせによって表す追加情報として記憶する追加情報記憶手段と、
前記数値制御装置、あるいは前記機械に異常が発生した場合、該異常に対応したアラームメッセージおよび追加情報を前記アラームメッセージ記憶手段と前記追加情報記憶手段とから選択しメッセージを作成するメッセージ作成手段と、
前記メッセージ作成手段により作成されたアラームメッセージおよび追加情報とからなるメッセージを表示する表示手段と、を備えたアラーム原因表示機能を有する数値制御装置。
In a numerical control device or a numerical control device having a function of detecting an abnormality of a machine controlled by the numerical control device,
An alarm message storage means for storing an alarm message representing an abnormality in an operating state generated in the numerical control device or the machine;
Additional information storage means for storing information identifying the cause of the abnormality as additional information represented by Arabic numerals, or alphabets, or a combination of Arabic numerals and alphabets;
When an abnormality occurs in the numerical control device or the machine, a message creating unit that creates a message by selecting an alarm message and additional information corresponding to the abnormality from the alarm message storage unit and the additional information storage unit;
A numerical control apparatus having an alarm cause display function, comprising: display means for displaying a message comprising an alarm message and additional information created by the message creation means.
前記メッセージ作成手段により作成されたアラームメッセージおよび追加情報からなるメッセージを履歴情報として記憶する異常発生履歴記憶手段を備えた請求項1に記載のアラーム原因表示機能を有する数値制御装置。   2. The numerical control device having an alarm cause display function according to claim 1, further comprising an abnormality occurrence history storage unit that stores an alarm message generated by the message generation unit and a message including additional information as history information. 前記追加情報は所定の体系に従って形成されていることを特徴とする請求項1または2のいずれか一つに記載のアラーム原因表示機能を有する数値制御装置。   The numerical control apparatus having an alarm cause display function according to claim 1, wherein the additional information is formed according to a predetermined system.
JP2008002115A 2008-01-09 2008-01-09 Numerical control device having alarm cause display function Pending JP2009163607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008002115A JP2009163607A (en) 2008-01-09 2008-01-09 Numerical control device having alarm cause display function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008002115A JP2009163607A (en) 2008-01-09 2008-01-09 Numerical control device having alarm cause display function

Publications (1)

Publication Number Publication Date
JP2009163607A true JP2009163607A (en) 2009-07-23

Family

ID=40966131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008002115A Pending JP2009163607A (en) 2008-01-09 2008-01-09 Numerical control device having alarm cause display function

Country Status (1)

Country Link
JP (1) JP2009163607A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019139558A (en) * 2018-02-13 2019-08-22 ファナック株式会社 Machine tool control device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019139558A (en) * 2018-02-13 2019-08-22 ファナック株式会社 Machine tool control device
CN110165969A (en) * 2018-02-13 2019-08-23 发那科株式会社 The control device of lathe
US10666184B2 (en) 2018-02-13 2020-05-26 Fanuc Corporation Machine tool controller
CN110165969B (en) * 2018-02-13 2021-06-15 发那科株式会社 Control device for machine tool

Similar Documents

Publication Publication Date Title
JP6557274B2 (en) Component mounting position guidance device, component mounting position guidance system, and component mounting position guidance method
EP1560089B1 (en) Numerical control apparatus with integrated programmable controller with adaptation of displayed text to multiple languages and views
JP4836911B2 (en) Numerical control device that enables operation according to the level of the operator
JP2006293537A (en) Numerical control apparatus
JP6434434B2 (en) A processing robot system that connects a processing device to a robot for processing
JP2016031643A (en) Numerical control device having analysis support function of machinery abnormality history
JP2012079290A (en) Control device of machine tool and processing relevant data processing system with the same
US10678231B2 (en) Production controller equipped with function of identifying cause upon operation stop of production facility including manufacturing facilities
JP2009122852A (en) Numerical controller for storing operating history during path table operation
JPH08123515A (en) Display system for sequence program
JP2010026920A (en) Numerical controller for displaying additional information of machining program
JP2009223354A (en) Numerical control device having function for displaying alarm information
JP2009163607A (en) Numerical control device having alarm cause display function
JP5638042B2 (en) Numerical control device with maintenance function when HMI is abnormal
JP2016164721A (en) Numerical control device with processing process management function, and processing process management program
JP2016004337A (en) Machine tool
US20170293282A1 (en) Numerical controller
WO2021241384A1 (en) Data management device and data management method
WO2022107817A1 (en) Control device
JP2008538440A (en) Method for visualizing the hardware topology of a drive system graphically and a display device having a hardware topology display
WO2022244070A1 (en) Operation status display device and computer-readable storage medium
JP4774683B2 (en) Support device for servo controller
JP2008287299A (en) Display screen addition system for numerical control device
JP4657595B2 (en) NC machine tool display device
JP2018045400A (en) Operating state monitor