WO2015092853A1 - 数値制御装置およびロギング方法 - Google Patents

数値制御装置およびロギング方法 Download PDF

Info

Publication number
WO2015092853A1
WO2015092853A1 PCT/JP2013/083645 JP2013083645W WO2015092853A1 WO 2015092853 A1 WO2015092853 A1 WO 2015092853A1 JP 2013083645 W JP2013083645 W JP 2013083645W WO 2015092853 A1 WO2015092853 A1 WO 2015092853A1
Authority
WO
WIPO (PCT)
Prior art keywords
numerical control
logging
condition
control information
detection value
Prior art date
Application number
PCT/JP2013/083645
Other languages
English (en)
French (fr)
Inventor
中村 直樹
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to DE112013007685.3T priority Critical patent/DE112013007685T8/de
Priority to CN201380081667.2A priority patent/CN105829981B/zh
Priority to PCT/JP2013/083645 priority patent/WO2015092853A1/ja
Priority to JP2014525232A priority patent/JP5788097B1/ja
Priority to US15/035,280 priority patent/US10254743B2/en
Publication of WO2015092853A1 publication Critical patent/WO2015092853A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • G05B19/4063Monitoring general control system
    • 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/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50206Tool monitoring integrated in nc control

Definitions

  • the present invention relates to a numerical control device and a logging method.
  • NC numerical Control
  • the numerical control device sequentially overwrites and accumulates diagnostic information in a circulating memory until an abnormality occurs.
  • the diagnostic information is stored in a logging buffer memory different from the circular memory.
  • Patent Document 2 discloses a numerical control device in which a logging start condition and a logging end condition are preset in the numerical control device.
  • Patent Document 2 when it is desired to acquire diagnostic information before and after an occurrence of an abnormality such as an alarm, a logging start condition for an abnormality that does not know when and where it occurs and There is a problem that it is difficult for the user to set and set the logging end condition.
  • the present invention has been made to solve such a problem, and is a numerical control device and a logging that can efficiently acquire diagnostic information near the timing of occurrence of an abnormality necessary for specifying the cause of the occurrence of the abnormality.
  • the purpose is to get the method.
  • the present invention provides a detection unit that detects the occurrence of a preset event, and a first that changes sequentially when the detection unit detects the occurrence of the event.
  • the first numerical control information at the timing when occurrence of the event is detected with reference to 1 numerical control information is acquired as a reference value, and a first calculation process set in advance using the reference value is performed. And generating a first determination condition, and when the first numerical control information that changes sequentially satisfies the first determination condition, the logging process of the second numerical control information that changes sequentially starts. And a logging processing unit.
  • the numerical control device can acquire diagnostic information immediately before the occurrence of an abnormality without always logging the diagnostic information and without the user having to set the logging processing start timing fixedly. Therefore, it is possible to efficiently obtain diagnostic information near the timing of occurrence of abnormality.
  • FIG. 1 is a diagram illustrating a functional configuration of the numerical control device according to the first embodiment.
  • FIG. 2 is a diagram illustrating a hardware configuration example of the numerical control device according to the first embodiment.
  • FIG. 3 is a flowchart for explaining the operation of the numerical controller according to the first embodiment.
  • FIG. 4 is a timing chart illustrating how the logging process is started / finished.
  • FIG. 1 is a diagram illustrating a functional configuration of the numerical control device according to the first embodiment of the present invention.
  • the numerical control device 100 is connected to a drive unit 300 of the machine tool.
  • the drive unit 300 includes, for example, a servo amplifier that drives a motor.
  • the numerical controller 100 supplies a drive command 22 to the drive unit 300.
  • setting information 200 related to logging processing is set from the outside.
  • the setting information 200 includes a trigger condition 11, a start offset 12, an end offset 13, and log data information 14. Each information included in the setting information 200 will be described later.
  • the numerical control device 100 includes a condition storage unit 1, a trigger determination unit 2, a condition generation unit 3, a logging processing unit 4, a logging buffer 5, and a numerical control unit 6.
  • the numerical controller 6 executes numerical control processing based on a built-in machining program (machining program 36).
  • the numerical control process is a process for generating a drive command 22 to be supplied to the drive unit 300.
  • the machining program 36 includes a plurality of blocks that are command units. Each block is given a unique block number within the machining program 36.
  • the plurality of blocks constituting the machining program 36 are analyzed and executed in order from the top. For example, each block is given a block number so as to be in ascending order from the top of the machining program 36.
  • the block number is simply expressed, the block number of the machining program 36 is indicated.
  • the numerical control process by the numerical control unit 6 is composed of one or more processes.
  • the numerical control process includes an analysis process for reading a block from the machining program 36 and analyzing a command described in the block, an interpolation process for interpolating a trajectory of the machine tool based on an analysis result by the analysis process, Acceleration / deceleration processing for accelerating / decelerating the speed at which the machine tool is moved, command generation processing for generating a position command or a speed command for each operation cycle for moving the machine tool at the speed determined by the acceleration / deceleration processing, and the like.
  • the data output by each process and excluding the drive command 22 is expressed as intermediate data.
  • the numerical control process may include an alarm output process for detecting an abnormality and outputting an alarm notification.
  • the numerical control process may include a feedback process that feeds back a state value (position detection value or speed detection value) of the machine tool or the motor.
  • the numerical control process may include an arbitrary filter process.
  • the numerical control process can be configured to include an arbitrary process according to a control method.
  • the trigger determination unit 2 functions as a detection unit that detects the occurrence of an event preset as an abnormality. Specifically, the trigger determination unit 2 reads the trigger condition 11 stored in the condition storage unit 1. The trigger determination unit 2 monitors the monitoring information 19 of the numerical control unit 6 and determines whether the monitoring information 19 satisfies the trigger condition 11. Then, the trigger determination unit 2 outputs the determination result 15 to the condition generation unit 3. Here, the trigger determination unit 2 determines a pulse that means “trigger condition is satisfied” as a determination result 15 at a timing when the monitoring information 19 satisfies the trigger condition 11 from a state where the monitoring information 19 does not satisfy the trigger condition 11. And output to the condition generation unit 3 as follows.
  • the monitoring information 19 is information that is monitored for detecting the occurrence of an abnormal event. Any type of data can be used as the monitoring information 19. For example, alarm notification can be employed as the monitoring information 19. Arbitrary intermediate data can be adopted as the monitoring information 19. For example, a block number, elapsed time, moving distance, tool number used, command speed, command spindle speed, etc. can be adopted as the monitoring information 19. Various state values from the drive unit 300 may be adopted as the monitoring information 19. For example, when the drive unit 300 is a motor, the rotation number detection value, the position detection value, the speed detection value, or the torque detection value of the motor can be adopted as the monitoring information 19.
  • Trigger condition 11 is a determination condition for detecting the occurrence of an abnormal event.
  • the trigger condition 11 may be configured to include, for example, an identification number (alarm number) or a block number assigned in advance for each alarm type.
  • an identification number alarm number
  • a specific used tool number determined to be abnormal may be set as the trigger condition 11.
  • a threshold value for trigger determination is set as the trigger condition 11. For example, when the trigger condition 11 includes an alarm number, the trigger determination unit 2 determines whether an alarm notification with a predetermined alarm number is detected. When the trigger condition 11 includes an alarm number, the trigger determination unit 2 determines whether an alarm notification is detected during execution of a block having a predetermined block number.
  • the condition generation unit 3 uses the start offset 12 and the end offset 13 stored in the condition storage unit 1 when the trigger determination unit 2 detects the occurrence of an abnormal event, and the logging process start condition 16 and A termination condition 17 for the logging process is generated.
  • the condition generation unit 3 stores the generated start condition 16 and end condition 17 in the condition storage unit 1.
  • the start condition 16 is a determination condition for determining the start timing of the logging process
  • the end condition 17 is a determination condition for determining the end timing of the logging process.
  • the start condition 16 and the end condition 17 are expressed as timing determination conditions.
  • the timing determination condition includes, for example, a threshold value.
  • the threshold value of the timing determination condition is dynamically generated by executing a predetermined calculation process on the value of the state information 21 when the trigger condition is satisfied.
  • the state information 21 is information (first numerical control information) monitored for determining the start / end timing of the logging process. Any type of information that changes according to the control can be used as the state information 21. For example, a block number, an elapsed time from the start of execution of the machining program 36, a moving distance, a tool number used, a command speed, or a command spindle speed can be adopted as the state information 21. Further, a motor rotation number detection value, a position detection value, a speed detection value, or a torque detection value can be adopted as the state information 21.
  • the value of the status information 21 when the trigger condition is satisfied is expressed as a reference value.
  • the condition generation unit 3 calculates the threshold value of the timing determination condition by offsetting each preset offset value (start offset 12 and end offset 13) with respect to the reference value. For example, the condition generation unit 3 calculates the threshold value of the start condition 16 by subtracting the start offset 12 from the reference value. In addition, the condition generation unit 3 calculates the threshold value of the end condition 17 by adding the end offset 13 to the reference value.
  • Whether the start offset 12 is added to or subtracted from the reference value in order to generate the start condition 16 can be arbitrarily set according to the type of the state information 21.
  • whether the end offset 13 is added to or subtracted from the reference value in order to generate the end condition 17 can be arbitrarily set according to the type of the state information 21.
  • Whether the condition is satisfied when the threshold value is exceeded or below the threshold value can be arbitrarily set according to the type of the state information 21.
  • the condition generation unit 3 can recognize the numerical control information set as the state information 21 by reading the log data information 14 from the condition storage unit 1. When the determination result 15 changes from “trigger condition not satisfied” to “trigger condition satisfied”, the condition generation unit 3 acquires the specified type of state information 21 from the numerical control unit 6, and acquires the acquired diagnostic information 20. Use the reference value.
  • the log data information 14 designates a block number as the status information 21
  • the number of blocks is set as the start offset 12 and the end offset 13.
  • the condition generation unit 3 uses the block number obtained by subtracting the number of blocks set in the start offset 12 from the block number of the block being executed when the trigger condition is satisfied, and starts exceeding this threshold.
  • Condition 16 is assumed.
  • the condition generation unit 3 sets a block number obtained by adding the number of blocks set to the end offset 13 from the block number of the block being executed when the trigger condition is satisfied, and exceeds this threshold. Is the end condition 17.
  • the log data information 14 designates the elapsed time as the status information 21, the time is set as the start offset 12 and the end offset 13.
  • the condition generation unit 3 uses a time obtained by subtracting the time set in the start offset 12 from the elapsed time when the trigger condition is satisfied, as a threshold value, and that the elapsed time exceeds this threshold value as the start condition 16 To do.
  • the condition generation unit 3 uses a time obtained by adding the time set in the end offset 13 to the elapsed time when the trigger condition is satisfied, and sets the threshold for the elapsed time to exceed the threshold. 17
  • the elapsed time is, for example, the time since the execution of the machining program 36 from the beginning.
  • the elapsed time is reset, for example, every execution cycle of the machining program 36.
  • the distance is set as the start offset 12 and the end offset 13.
  • the condition generation unit 3 sets a movement distance obtained by subtracting (or adding) the distance set in the start offset 12 to the movement distance when the trigger condition is satisfied, and the movement distance exceeds the threshold. (Or below) is the start condition 16.
  • the condition generation unit 3 sets a moving distance obtained by adding (or subtracting) the distance set in the end offset 13 to the moving distance when the trigger condition is satisfied, and the moving distance is set to this threshold. Exceeding (or falling below) is defined as an end condition 17.
  • the speed is set as the start offset 12 and the end offset 13.
  • the condition generation unit 3 uses a speed obtained by subtracting (or adding) the speed set in the start offset 12 from the command speed when the trigger condition is satisfied, and the command speed exceeds this threshold ( Or lower) is set as the start condition 16. Further, the condition generation unit 3 uses a speed obtained by adding (or subtracting) the speed set in the end offset 13 to the command speed when the trigger condition is satisfied, and the command speed exceeds this threshold. (Or falling below) can be the end condition 17.
  • the spindle speed is set as the start offset 12 and the end offset 13.
  • the condition generation unit 3 sets the spindle speed obtained by subtracting (or adding) the spindle speed set in the start offset 12 to the command spindle speed when the trigger condition is satisfied, and uses the command spindle speed as the threshold value. Exceeding (or falling below) this threshold is defined as a start condition 16.
  • the condition generation unit 3 sets the spindle speed obtained by adding (or subtracting) the spindle speed set in the end offset 13 to the command spindle speed when the trigger condition is satisfied, and uses the command spindle speed as a threshold value. Termination condition 17 is that the number exceeds (or falls below) this threshold value.
  • each threshold value is not limited to the method of offsetting the reference value.
  • each threshold value may be calculated by multiplying a reference value by a predetermined coefficient.
  • the condition generation unit 3 can employ various calculation methods as a method for calculating each threshold value.
  • one or both of the start condition 16 and the end condition 17 may be configured by a combination of a plurality of conditions.
  • the combination of a plurality of conditions means, for example, that a relationship between a plurality of conditions is defined by a logical sum, a logical product, an exclusive logical sum of a plurality of conditions, or a combination of these operations.
  • the logging processing unit 4 reads the log data information 14 and the start condition 16 and the end condition 17 generated by the condition generation unit 3 from the condition storage unit 1. Then, the logging processing unit 4 sequentially acquires the state information 21 specified by the log data information 14 from the numerical control unit 6 and compares the acquired state information 21 with the start condition 16 and the end condition 17. And the logging process part 4 starts or complete
  • the diagnostic information 20 is numerical control information (second numerical control information) used for abnormality diagnosis.
  • the numerical control information any kind of information that changes according to the control can be adopted.
  • Which type of numerical control information is to be logged as diagnostic information 20 is specified by log data information 14.
  • log data information 14 For example, the block data, the elapsed time from the start of execution of the machining program 36, the moving distance, the tool number used, the command speed, or the command spindle speed can be designated by the log data information 14.
  • intermediate data of any process constituting the numerical control process can be designated by the log data information 14.
  • a motor rotation number detection value, a position detection value, a speed detection value, or a torque detection value can be adopted as the diagnostic information 20.
  • the logging processing unit 4 sequentially acquires the diagnostic information 20 during execution of the logging process, and accumulates and stores the acquired diagnostic information 20 as log data 18 in the logging buffer 5.
  • the logging processing unit 4 may process the acquired diagnostic information 20 and accumulate and store it in the logging buffer 5 as log data 18.
  • FIG. 2 is a diagram illustrating a hardware configuration example of the numerical controller 100.
  • the numerical control device 100 includes an arithmetic device 31, a main storage device 32, an auxiliary storage device 33, and an I / O 34.
  • the arithmetic device 31, the main storage device 32, the auxiliary storage device 33, and the I / O 34 are connected to each other by a bus.
  • the computing device 31 executes a numerical control program 35 that is a program for realizing the numerical control method of the embodiment.
  • the I / O 34 is a connection interface for connecting to the drive unit 300.
  • the I / O 34 may be connected to a display device that displays various information so as to be visible to the user.
  • An input device that receives input of setting information 200 from the user may be connected to the IO 34.
  • the main storage device 32 functions as a program development area and a work area for the arithmetic device 31.
  • the main storage device 32 includes a memory that can operate at a higher speed than the auxiliary storage device 33, such as a RAM (Random Access Memory).
  • the auxiliary storage device 33 functions as a recording medium that stores the numerical control program 35 and the machining program 36 in advance.
  • the auxiliary storage device 33 includes, for example, a ROM (Read Only Memory), an HDD (Hard Disk Drive), an SSD (Solid State Drive), a CD-ROM, a DVD-ROM, a removable memory device, or a combination thereof. .
  • the numerical control program 35 is read from the auxiliary storage device 33 and loaded into the main storage device 32 via the bus.
  • the arithmetic device 31 executes a numerical control program 35 loaded in the main storage device 32.
  • the arithmetic device 31 functions as the trigger determination unit 2, the condition generation unit 3, the logging processing unit 4, and the numerical control unit 6 by executing the numerical control program 35 developed in the main storage device 32.
  • the numerical controller 6 temporarily stores various intermediate data in the work area of the main storage device 32. Data is exchanged between the functional components (the trigger determination unit 2, the condition generation unit 3, the logging processing unit 4, and the numerical control unit 6) via the work area of the main storage device 32.
  • the drive command 22 generated by the numerical control unit 6 is output to the drive unit 300 via the I / O 34.
  • the condition storage unit 1 and the logging buffer 5 are secured in the main storage device 32 or the auxiliary storage device 33.
  • the diagnostic information 20 accumulated and stored in the logging buffer 5 can be read out via the I / O 34, for example.
  • the user can read the diagnostic information 20 by connecting the memory device to a computer.
  • the numerical control device 100 includes a display device, the diagnostic information 20 accumulated and stored in the logging buffer 5 may be displayed on the display device.
  • the hardware configuration of the numerical controller 100 is not limited to the hardware configuration example described above.
  • some or all of the trigger determination unit 2, the condition generation unit 3, the logging processing unit 4, and the numerical control unit 6 may be configured by a hardware circuit or a combination of a hardware circuit and software.
  • FIG. 3 is a flowchart for explaining the operation of the numerical controller 100. Note that the series of processing shown in FIG. 3 is executed for each sampling period. The sampling period may be equal to the control period or may be greater than the control period.
  • the logging processing unit 4 determines whether or not the logging process is being executed (S1). When the logging process is not being executed, the logging processing unit 4 determines whether or not the start condition 16 is satisfied based on the start condition 16 and the state information 21 at that time (S2).
  • the trigger determination unit 2 determines whether the trigger condition 11 is satisfied based on the monitoring information 19 and the trigger condition 11 (S3).
  • the condition generation unit 3 uses the state information 21 at that time and each offset value (start offset 12, end offset 13) to determine the timing determination condition (start condition). 16, end condition 17) is generated (S4).
  • the trigger condition 11 is not satisfied (S3, No)
  • the process of S1 is executed again.
  • the logging processing unit 4 When it is determined that the start condition 16 is satisfied (S2, Yes) or after the process of S4, the logging processing unit 4 starts the logging process (S5) and executes the process of S1 again.
  • the logging processing unit 4 acquires diagnostic information 20 for each sampling period, and stores the acquired diagnostic information 20 in the logging buffer 5 as log data 18. From the time when the process of S5 is executed to the time when the process of S7 described later is executed, the state of the logging processing unit 4 is in the state of “executing the logging process”.
  • the logging processing unit 4 determines whether or not the end condition 17 is satisfied based on the end condition 17 and the state information 21 at that time. (S6). When the end condition 17 is satisfied (S6, Yes), the logging processing unit 4 ends the logging process (S7) and executes the process of S1 again. When the end condition 17 is not satisfied (S6, No), the logging processing unit 4 skips the process of S7.
  • FIG. 4 is a timing chart for explaining how the logging process is started / finished by the series of processes shown in FIG.
  • the logging process is performed from the timing T1 until the end condition 17 set based on the end offset 13 is satisfied (timing T2). Is executed.
  • the trigger condition is satisfied for the second time (timing T3)
  • the diagnostic information 20 before and after the timing T3 is logged. That is, the diagnostic information 20 is logged from the time when the start condition 16 set based on the start offset 12 is satisfied (timing T4) to the time when the end condition 17 is satisfied (timing T5).
  • Timing T4 arrives before timing T3.
  • the alarm number “E01” is set as the trigger condition 11, the block number is set in the log data information 14 as the status information 21, the number of blocks “10” is set as the start offset 12, and the end offset 13 is “ Consider the case where the number of blocks “20” is set, and the rotation speed detection value of the motor is set as the diagnostic information 20 in the log data information 14.
  • the trigger determination unit 2 it is determined whether or not an alarm having an alarm number “E01” has been notified.
  • the condition generation unit 3 acquires the block number “N (N is an integer)” at that time as a reference value, and sets “N-10” as the start condition 16.
  • “N + 20” is set as the end condition 17, respectively.
  • the block number is monitored as the status information 21, and the motor rotation speed detection value logging process is executed until the block number ranges from “N ⁇ 10” to “N + 20”.
  • the numerical control device 100 when the numerical control device 100 detects an abnormal event, the numerical control device 100 executes a predetermined arithmetic process on the state information 21 at the timing when the event is detected. Accordingly, since the start timing of the logging process is generated, it is possible to acquire the diagnostic information 20 immediately before the occurrence of the abnormality without always performing the logging process of the diagnostic information 20. In addition, it is unnecessary for the user to predict and set the start timing. That is, the numerical control device 100 according to the embodiment can efficiently acquire the diagnostic information 20 near the timing of occurrence of abnormality.
  • the numerical control device 100 generates the logging processing start timing by executing a predetermined calculation process on the state information 21 at the timing when the abnormal event is detected, so the diagnostic information 20 immediately after the occurrence of the abnormality is displayed. It can be obtained without the need for fixed setting of the end timing.
  • condition generation unit 3 may generate only one of the start condition 16 and the end condition 17.
  • the logging processing unit 4 may be configured so that the timing at which the trigger determination unit 2 detects an abnormality is detected as the end timing of the logging process. Further, when only the end condition 17 is generated, the logging processing unit 4 may be configured so that the timing at which the trigger determination unit 2 detects an abnormality is set as the logging processing start timing.
  • trigger conditions 11 may be set for each event that is considered abnormal.
  • the trigger condition 11 is individually set for each event that is considered abnormal, the start offset 12, the end offset 13, and the log data information 14 are set individually for each trigger condition 11, and the trigger determination unit 2, the condition The generation unit 3 and the logging processing unit 4 individually execute the operation illustrated in FIG. 3 for each trigger condition 11.
  • the trigger condition 11 for detecting a single event may be configured by a combination of a plurality of conditions.
  • 1 condition storage unit 1 condition storage unit, 2 trigger determination unit, 3 condition generation unit, 4 logging processing unit, 5 logging buffer, 6 numerical control unit, 11 trigger condition, 12 start offset, 13 end offset, 14 log data information, 15 determination result, 16 start conditions, 17 end conditions, 18 log data, 19 monitoring information, 20 diagnostic information, 21 status information, 22 drive commands, 31 arithmetic units, 32 main storage units, 33 auxiliary storage units, 35 numerical control programs, 36 machining programs , 100 numerical control device, 200 setting information, 300 drive unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

 異常発生のタイミングの付近の診断情報を効率よく取得するために、数値制御装置は、予め設定された事象の発生を検知したとき(S3、Yes)、逐次変化する診断情報を参照して前記事象の発生が検知されたタイミングにおける診断情報を基準値として取得し、前記基準値を用いて予め設定された演算処理を行うことによって開始条件を生成し(S4)、逐次変化する診断情報が開始条件を満たしたとき(S2、Yes)、逐次変化する診断情報のロギング処理を開始する(S5)。

Description

数値制御装置およびロギング方法
 本発明は、数値制御装置およびロギング方法に関する。
 数値制御装置を用いて工作機械を数値制御(Numerical Control:NC)するシステムにおいて、アラーム発生等の異常発生時に、異常発生要因を特定するための診断情報をロギングすることが一般的に行われる。異常発生要因を特定するためには、異常発生前後の診断情報が必要となることがあるためである。
 異常発生前後の診断情報を取得するための技術として、例えば特許文献1の技術によれば、数値制御装置は、異常が発生するまでは循環メモリに診断情報を順次上書きして蓄積し、異常が発生すると循環メモリとは別のロギングバッファメモリに診断情報を記憶する。
 また、例えば特許文献2には、数値制御装置に、ロギングの開始条件およびロギングの終了条件が予め設定される数値制御装置が開示されている。
特開2012-2640号公報 特開2006-39640号公報
 しかしながら、特許文献1に記載される技術によれば、異常発生前後の診断情報をロギングするために、異常が発生しない場合においても、診断情報のロギングを常時行う必要があった。その結果、CPU負荷が高くなり、場合によっては性能が低下するという問題があった。特に、複数の異常発生要因を特定したい場合には、発生する異常によって取得したい情報が異なるため、いつ発生するか分からない異常に対して大量の診断情報をロギングし続ける必要があった。
 また、特許文献2に記載される技術によれば、アラーム発生など異常発生をトリガとしてその前後の診断情報を取得したい場合に、いつ、どこで発生するか分からない異常に対してロギングの開始条件およびロギングの終了条件をユーザが予想して設定するのは困難という問題があった。
 この発明は、かかる問題点を解決するためになされたものであり、異常発生要因を特定するために必要な異常発生のタイミングの付近の診断情報を効率よく取得することができる数値制御装置およびロギング方法を得ることを目的としている。
 上述した課題を解決し、目的を達成するために、本発明は、予め設定された事象の発生を検知する検知部と、前記検知部が前記事象の発生を検知したとき、逐次変化する第1の数値制御情報を参照して前記事象の発生が検知されたタイミングにおける第1の数値制御情報を基準値として取得し、前記基準値を用いて予め設定された第1の演算処理を行うことによって第1判定条件を生成する、条件生成部と、前記逐次変化する第1の数値制御情報が前記第1判定条件を満たしたとき、逐次変化する第2の数値制御情報のロギング処理を開始する、ロギング処理部と、を備えることを特徴とする。
 本発明にかかる数値制御装置は、診断情報を常時ロギング処理することなく、かつ、ユーザがロギング処理の開始タイミングを固定的に設定する必要なく、異常発生の直前の診断情報を取得することができるので、異常発生のタイミングの付近の診断情報を効率よく取得することができる。
図1は、実施の形態1の数値制御装置の機能構成を示す図である。 図2は、実施の形態1の数値制御装置のハードウェア構成例を示す図である。 図3は、実施の形態1の数値制御装置の動作を説明するフローチャートである。 図4は、ロギング処理が開始/終了される様子を説明するタイミングチャートである。
 以下に、本発明にかかる実施の形態の数値制御装置およびロギング方法を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。
実施の形態1.
 図1は、本発明の実施の形態1の数値制御装置の機能構成を示す図である。数値制御装置100は、工作機械の駆動部300に接続されている。駆動部300とは、例えばモータを駆動するサーボアンプを含む。数値制御装置100は、駆動部300に対して駆動指令22を供給する。
 数値制御装置100は、外部からロギング処理にかかる設定情報200が設定される。設定情報200は、トリガ条件11、開始オフセット12、終了オフセット13、およびログデータ情報14を含んでいる。設定情報200に含まれる各情報は後述する。
 数値制御装置100は、条件記憶部1、トリガ判定部2、条件生成部3、ロギング処理部4、ロギングバッファ5、および数値制御部6を備えている。
 数値制御部6は、内蔵する加工プログラム(加工プログラム36)に基づいて数値制御処理を実行する。数値制御処理は駆動部300に供給する駆動指令22を生成する処理である。加工プログラム36は、指令の単位であるブロックを複数備えて構成される。各ブロックは、加工プログラム36内でユニークなブロック番号が付されている。加工プログラム36を構成する複数のブロックは、先頭から順番に解析されて実行される。例えば、各ブロックには、加工プログラム36の先頭から昇順となるようにブロック番号が付されている。以降、単にブロック番号と表記する場合には、加工プログラム36のブロック番号を示すものとする。
 数値制御部6による数値制御処理は、1以上の処理によって構成される。例えば、数値制御処理は、加工プログラム36からブロックを読み込んでブロックに記載された指令を解析する解析処理、解析処理による解析結果に基づいて工作機械の軌跡を補間する補間処理、補間された軌跡上を工作機械を移動させる速度を加減速する加減速処理、加減速処理によって求められた速度で工作機械を移動させるための演算周期毎の位置指令または速度指令を生成する指令生成処理などを含む。なお、各処理が出力するデータであって、駆動指令22を除くデータを、中間データと表記する。また、数値制御処理は、異常を検出してアラーム通知を出力するアラーム出力処理を含んでいてもよい。また、数値制御処理は、工作機械またはモータの状態値(位置検出値または速度検出値)をフィードバックするフィードバック処理を含んでいてもよい。また、数値制御処理は、任意のフィルタ処理を含んでいてもよい。その他、数値制御処理は、制御の手法に応じて任意の処理を含んで構成されることが可能である。
 トリガ判定部2は、異常として予め設定された事象の発生を検知する検知部として機能する。具体的には、トリガ判定部2は、条件記憶部1が記憶するトリガ条件11を読み出す。そして、トリガ判定部2は、数値制御部6の監視情報19を監視し、監視情報19がトリガ条件11を満たすか否かを判定する。そして、トリガ判定部2は、判定結果15を条件生成部3に出力する。ここでは、トリガ判定部2は、監視情報19がトリガ条件11を満たしていない状態から監視情報19がトリガ条件11を満たすに至ったタイミングで、「トリガ条件成立」を意味するパルスを判定結果15として条件生成部3に出力するものとする。
 監視情報19とは、異常とされる事象の発生の検知のために監視される情報である。監視情報19としては任意の種類のデータが採用可能である。例えば、アラーム通知が監視情報19として採用可能である。また、任意の中間データが監視情報19として採用可能である。例えば、ブロック番号、経過時間、移動距離、使用工具番号、指令速度、指令主軸回転数などが監視情報19として採用可能である。また、駆動部300からの各種状態値が監視情報19として採用されてもよい。例えば、駆動部300がモータである場合には、モータの回転数検出値、位置検出値、速度検出値、またはトルク検出値が監視情報19として採用可能である。
 トリガ条件11とは、異常とされる事象の発生を検知するための判定条件である。アラーム通知が監視情報19として採用される場合には、トリガ条件11として例えばアラームの種類毎に予め割り振られた識別番号(アラーム番号)、または、ブロック番号を含んで構成されてもよい。また、監視情報19として使用工具番号が採用される場合には、異常と判定される特定の使用工具番号がトリガ条件11として設定されてもよい。また、監視情報19として経過時間、移動距離、指令速度、または指令主軸回転数が採用される場合には、トリガ条件11として、トリガ判定のためのしきい値が設定される。また、例えば、トリガ条件11にアラーム番号が含まれる場合には、所定のアラーム番号のアラーム通知が検知されたか否かがトリガ判定部2によって判定される。また、トリガ条件11にアラーム番号が含まれる場合には、所定のブロック番号のブロックを実行中にアラーム通知が検知されたか否かがトリガ判定部2によって判定される。
 条件生成部3は、トリガ判定部2が異常とされる事象の発生を検知したとき、条件記憶部1に格納されている開始オフセット12および終了オフセット13を用いて、ロギング処理の開始条件16およびロギング処理の終了条件17を生成する。条件生成部3は、生成した開始条件16および終了条件17を、条件記憶部1に格納する。
 ここで、開始条件16は、ロギング処理の開始タイミングを判定するための判定条件であり、終了条件17は、ロギング処理の終了タイミングを判定するための判定条件である。開始条件16および終了条件17を、タイミング判定条件と表記する。タイミング判定条件は、例えばしきい値を含む。
 実施の形態では、タイミング判定条件のしきい値は、トリガ条件成立時の状態情報21の値に所定の演算処理を実行することによって動的に生成される。状態情報21とは、ロギング処理の開始・終了タイミングの判定のために監視される情報(第1の数値制御情報)である。制御に応じて変化する任意の種類の情報が状態情報21として採用可能である。例えば、例えば、ブロック番号、加工プログラム36の実行開始からの経過時間、移動距離、使用工具番号、指令速度、または指令主軸回転数が、状態情報21として採用可能である。また、モータの回転数検出値、位置検出値、速度検出値、またはトルク検出値が状態情報21として採用可能である。
 トリガ条件成立時の状態情報21の値を基準値と表記する。ここでは、条件生成部3は、基準値に対して、予め設定された各オフセット値(開始オフセット12、終了オフセット13)がオフセットされることによってタイミング判定条件のしきい値を演算する。例えば、条件生成部3は、基準値から開始オフセット12を減算することによって開始条件16のしきい値を算出する。また、条件生成部3は、基準値に終了オフセット13を加算することによって終了条件17のしきい値を算出する。
 開始条件16を生成するために基準値に対して開始オフセット12を加算するか減算するかは、状態情報21の種類に応じて任意に設定可能である。同様に、終了条件17を生成するために基準値に対して終了オフセット13を加算するか減算するかは、状態情報21の種類に応じて任意に設定可能である。また、しきい値を越えたときか、または、しきい値を下回ったときの何れを条件成立とするかは、状態情報21の種類に応じて任意に設定可能である。
 条件生成部3は、条件記憶部1からログデータ情報14を読み出すことによって、状態情報21として設定された数値制御情報を認識することができる。条件生成部3は、判定結果15が「トリガ条件不成立」から「トリガ条件成立」となったとき、指定された種類の状態情報21を数値制御部6から取得して、取得した診断情報20を基準値とする。
 例えば、ログデータ情報14がブロック番号を状態情報21として指定する場合には、開始オフセット12および終了オフセット13としてブロック数が設定される。条件生成部3は、トリガ条件成立時に実行中のブロックのブロック番号から開始オフセット12に設定されたブロック数を減算して得られるブロック番号をしきい値とし、このしきい値を越えることを開始条件16とする。また、条件生成部3は、トリガ条件成立時に実行中のブロックのブロック番号から終了オフセット13に設定されたブロック数を加算して得られるブロック番号をしきい値とし、このしきい値を越えることを終了条件17とする。
 また、ログデータ情報14が経過時間を状態情報21として指定する場合には、開始オフセット12および終了オフセット13として時間が設定される。条件生成部3は、トリガ条件成立時の経過時間に開始オフセット12に設定された時間を減算して得られる時間をしきい値とし、経過時間がこのしきい値を越えることを開始条件16とする。また、条件生成部3は、トリガ条件成立時の経過時間に終了オフセット13に設定された時間を加算して得られる時間をしきい値とし、経過時間がこのしきい値を越えることを終了条件17とする。なお、経過時間とは、例えば加工プログラム36を先頭から実行開始してからの時間である。経過時間は、例えば加工プログラム36の実行サイクル毎にリセットされる。
 また、ログデータ情報14が移動距離を状態情報21として指定する場合には、開始オフセット12および終了オフセット13として距離が設定される。条件生成部3は、トリガ条件成立時の移動距離に開始オフセット12に設定された距離を減算(または加算)して得られる移動距離をしきい値とし、移動距離がこのしきい値を越えること(または下回ること)を開始条件16とする。また、条件生成部3は、トリガ条件成立時の移動距離に終了オフセット13に設定された距離を加算(または減算)して得られる移動距離をしきい値とし、移動距離がこのしきい値を越えること(または下回ること)を終了条件17とする。
 また、ログデータ情報14が指令速度を状態情報21として指定する場合には、開始オフセット12および終了オフセット13として速度が設定される。条件生成部3は、トリガ条件成立時の指令速度に開始オフセット12に設定された速度を減算(または加算)して得られる速度をしきい値とし、指令速度がこのしきい値を越えること(または下回ること)を開始条件16とする。また、条件生成部3は、トリガ条件成立時の指令速度に終了オフセット13に設定された速度を加算(または減算)して得られる速度をしきい値とし、指令速度がこのしきい値を越えること(または下回ること)を終了条件17とすることができる。
 また、ログデータ情報14が指令主軸回転数を状態情報21として指定する場合には、開始オフセット12および終了オフセット13として主軸回転数が設定される。条件生成部3は、トリガ条件成立時の指令主軸回転数に開始オフセット12に設定された主軸回転数を減算(または加算)して得られる主軸回転数をしきい値とし、指令主軸回転数がこのしきい値を越えること(または下回ること)を開始条件16とする。また、条件生成部3は、トリガ条件成立時の指令主軸回転数に終了オフセット13に設定された主軸回転数を加算(または減算)して得られる主軸回転数をしきい値とし、指令主軸回転数がこのしきい値を越えること(または下回ること)を終了条件17とする。
 なお、条件生成部3が各しきい値を演算する手法は、基準値をオフセットする手法だけに限定されない。例えば、基準値に所定の係数を乗算することによって各しきい値を演算するようにしてもよい。その他に、条件生成部3は、各しきい値を演算する手法として種々の演算手法が採用可能である。
 また、開始条件16および終了条件17のうちの1つまたは両方は、複数の条件の組み合わせによって構成されてもよい。複数の条件の組み合わせとは、例えば、複数の条件の論理和、論理積、排他的論理和、またはこれらの演算の組み合わせによって複数の条件の関係が定義されていることをいう。
 ロギング処理部4は、ログデータ情報14と、条件生成部3によって生成された開始条件16および終了条件17と、を条件記憶部1から読み出す。そして、ロギング処理部4は、ログデータ情報14によって指定された状態情報21を数値制御部6から逐次取得するとともに、取得した状態情報21を開始条件16および終了条件17と比較する。そして、ロギング処理部4は、診断情報20のロギング処理を比較結果に基づくタイミングで開始したり終了したりする。
 ここで、診断情報20とは、異常の診断に供される数値制御情報(第2の数値制御情報)である。数値制御情報には、制御に応じて変化する任意の種類の情報が採用可能である。如何なる種類の数値制御情報を診断情報20としてロギング対象とするかは、ログデータ情報14によって指定される。例えば、ブロック番号、加工プログラム36の実行開始からの経過時間、移動距離、使用工具番号、指令速度、または指令主軸回転数が、ログデータ情報14によって指定可能である。その他に、数値制御処理を構成する任意の処理の中間データが、ログデータ情報14によって指定可能である。また、モータの回転数検出値、位置検出値、速度検出値、またはトルク検出値が診断情報20として採用可能である。
 ロギング処理部4は、ロギング処理実行中においては、診断情報20を逐次取得して、取得した診断情報20をログデータ18としてロギングバッファ5に蓄積記憶させる。なお、ロギング処理部4は、取得した診断情報20を加工してログデータ18としてロギングバッファ5に蓄積記憶させてもよい。
 図2は、数値制御装置100のハードウェア構成例を示す図である。数値制御装置100は、演算装置31、主記憶装置32、補助記憶装置33、およびI/O34を備えている。演算装置31、主記憶装置32、補助記憶装置33、およびI/O34はバスで互いに接続されている。
 演算装置31は、実施の形態の数値制御方法を実現するためのプログラムである数値制御プログラム35を実行する。I/O34は、駆動部300に接続するための接続インタフェースである。I/O34は、ユーザに対して各種情報を視認可能に表示する表示装置が接続されてもよい。IO34は、ユーザからの設定情報200の入力を受け付ける入力装置が接続されてもよい。
 主記憶装置32は、プログラム展開領域および演算装置31のワークエリアとして機能する。主記憶装置32は、例えばRAM(Random Access Memory)など、補助記憶装置33よりも高速に動作することが可能なメモリによって構成される。補助記憶装置33は、数値制御プログラム35および加工プログラム36を予め記憶する記録媒体として機能する。補助記憶装置33は、例えばROM(Read Only Memory)、HDD(Hard Disk Drive)、SSD(Solid State Drive)、CD-ROM、DVD-ROM、着脱可能なメモリデバイス、またはこれらの組み合わせによって構成される。
 数値制御プログラム35は、補助記憶装置33から読み出され、バスを介して主記憶装置32へロードされる。演算装置31は、主記憶装置32内にロードされた数値制御プログラム35を実行する。演算装置31は、主記憶装置32に展開された数値制御プログラム35を実行することによって、トリガ判定部2、条件生成部3、ロギング処理部4、および数値制御部6として機能する。数値制御部6は、各種中間データを主記憶装置32のワークエリアに一時記憶される。主記憶装置32のワークエリアを介して機能構成要素(トリガ判定部2、条件生成部3、ロギング処理部4、および数値制御部6)間のデータの授受が実行される。数値制御部6が生成した駆動指令22は、I/O34を介して駆動部300に出力される。
 条件記憶部1およびロギングバッファ5は、主記憶装置32または補助記憶装置33に確保される。ロギングバッファ5に蓄積記憶された診断情報20は、例えばI/O34を介して外部に読み出されることが可能である。ロギングバッファ5が着脱可能なメモリデバイスに確保される場合には、ユーザは、当該メモリデバイスをコンピュータに接続することによって診断情報20を読むことができる。数値制御装置100が表示装置を備える場合には、ロギングバッファ5に蓄積記憶された診断情報20を当該表示装置に表示可能に構成されてもよい。
 なお、数値制御装置100のハードウェア構成は、上記したハードウェア構成例に限定されない。例えば、トリガ判定部2、条件生成部3、ロギング処理部4、および数値制御部6のうちの一部または全部が、ハードウェア回路またはハードウェア回路とソフトウェアとの組み合わせによって構成されてもよい。
 図3は、数値制御装置100の動作を説明するフローチャートである。なお、図3に示す一連の処理は、サンプリング周期毎に実行される。サンプリング周期は制御周期と等しくてもよいし、制御周期よりも大きくてもよい。
 まず、ロギング処理部4は、ロギング処理を実行中であるか否かを判定する(S1)。ロギング処理を実行中ではない場合、ロギング処理部4は、開始条件16とその時点の状態情報21とに基づき、開始条件16が満たされているか否かを判定する(S2)。
 開始条件16が満たされていない場合(S2、No)、トリガ判定部2は、監視情報19とトリガ条件11とに基づき、トリガ条件11が満たされているか否かを判定する(S3)。トリガ条件11が満たされている場合(S3、Yes)、条件生成部3は、その時点の状態情報21と各オフセット値(開始オフセット12、終了オフセット13)とを用いてタイミング判定条件(開始条件16、終了条件17)を生成する(S4)。トリガ条件11が満たされていない場合(S3、No)、S1の処理が再び実行される。
 開始条件16が満たされていると判定された場合(S2、Yes)、または、S4の処理の後、ロギング処理部4は、ロギング処理を開始し(S5)、S1の処理を再び実行する。なお、ロギング処理を開始すると、ロギング処理部4は、サンプリング周期毎に診断情報20を取得して、取得した診断情報20をログデータ18としてロギングバッファ5に格納する。S5の処理が実行された後から後述のS7の処理が実行されるまでの間、ロギング処理部4の状態は、「ロギング処理を実行中」の状態となる。
 ロギング処理を実行中であると判定された場合(S1、Yes)、ロギング処理部4は、終了条件17とその時点の状態情報21とに基づき、終了条件17が満たされているか否かを判定する(S6)。終了条件17が満たされている場合(S6、Yes)、ロギング処理部4は、ロギング処理を終了し(S7)、S1の処理を再び実行する。終了条件17が満たされていない場合(S6、No)、ロギング処理部4は、S7の処理をスキップする。
 図4は、図3に示した一連の処理によってロギング処理が開始/終了される様子を説明するタイミングチャートである。図示するように、1回目にトリガ条件11が満たされたとき(タイミングT1)、タイミングT1から終了オフセット13に基づいて設定される終了条件17が満たされるとき(タイミングT2)までの間、ロギング処理が実行される。2回目にトリガ条件が満たされるとき(タイミングT3)、タイミングT3の前後の診断情報20がロギング処理される。即ち、開始オフセット12に基づいて設定される開始条件16が満たされるとき(タイミングT4)から、終了条件17が満たされるとき(タイミングT5)までの間、診断情報20がロギング処理される。タイミングT4は、タイミングT3よりも前に到来する。
 例えば、「E01」というアラーム番号がトリガ条件11として設定され、ブロック番号が状態情報21としてログデータ情報14に設定され、開始オフセット12として「10」のブロック数が設定され、終了オフセット13として「20」のブロック数が設定され、モータの回転数検出値が診断情報20としてログデータ情報14に設定されている場合を考える。トリガ判定部2においては、「E01」というアラーム番号のアラームが通知されたか否かが判定される。「E01」というアラーム番号のアラームが通知された場合、条件生成部3においては、その時点のブロック番号「N(Nは整数)」を基準値として取得され、「N-10」を開始条件16、「N+20」を終了条件17として夫々設定される。ロギング処理部4においては、ブロック番号が状態情報21として監視され、ブロック番号が「N-10」から「N+20」に至るまでの間、モータの回転数検出値のロギング処理が実行される。
 以上述べたように、本発明の実施の形態によれば、数値制御装置100は、異常とされる事象を検知したとき、当該事象を検知したタイミングにおける状態情報21に所定の演算処理を実行することによってロギング処理の開始タイミングを生成するので、診断情報20を常時ロギング処理することなく異常発生の直前の診断情報20を取得することが可能となる。また、ユーザが開始タイミングを予想して設定することを不要とすることができる。即ち、実施の形態の数値制御装置100は、異常発生のタイミングの付近の診断情報20を効率よく取得することができる。
 また、数値制御装置100は、異常とされる事象を検知したタイミングにおける状態情報21に所定の演算処理を実行することによってロギング処理の開始タイミングを生成するので、異常発生の直後の診断情報20を、終了タイミングの固定的な設定の必要なく取得することができる。
 なお、条件生成部3は、開始条件16および終了条件17のうちの何れか1つのみ生成するようにしてもよい。ロギング処理部4は、開始条件16のみが生成された場合には、トリガ判定部2が異常とされる事象を検知したタイミングをロギング処理の終了タイミングとするように構成されてもよい。また、ロギング処理部4は、終了条件17のみが生成された場合には、トリガ判定部2が異常とされる事象を検知したタイミングをロギング処理の開始タイミングとするように構成されてもよい。
 また、異常とされる事象毎に異なるトリガ条件11が設定されてもよい。トリガ条件11が異常とされる事象毎に個別に設定される場合には、開始オフセット12、終了オフセット13、およびログデータ情報14はトリガ条件11毎に個別に設定され、トリガ判定部2、条件生成部3、およびロギング処理部4は、図3に示した動作を、トリガ条件11毎に個別に実行する。
 また、単一の事象を検知するためのトリガ条件11が複数の条件の組み合わせによって構成されてもよい。
 1 条件記憶部、2 トリガ判定部、3 条件生成部、4 ロギング処理部、5 ロギングバッファ、6 数値制御部、11 トリガ条件、12 開始オフセット、13 終了オフセット、14 ログデータ情報、15 判定結果、16 開始条件、17 終了条件、18 ログデータ、19 監視情報、20 診断情報、21 状態情報、22 駆動指令、31 演算装置、32 主記憶装置、33 補助記憶装置、35 数値制御プログラム、36 加工プログラム、100 数値制御装置、200 設定情報、300 駆動部。

Claims (10)

  1.  予め設定された事象の発生を検知する検知部と、
     前記検知部が前記事象の発生を検知したとき、逐次変化する第1の数値制御情報を参照して前記事象の発生が検知されたタイミングにおける第1の数値制御情報を基準値として取得し、前記基準値を用いて予め設定された第1の演算処理を行うことによって第1判定条件を生成する、条件生成部と、
     前記逐次変化する第1の数値制御情報が前記第1判定条件を満たしたとき、逐次変化する第2の数値制御情報のロギング処理を開始する、ロギング処理部と、
     を備えることを特徴とする数値制御装置。
  2.  前記条件生成部は、前記基準値を用いて予め設定された第2の演算処理を行うことによって第2判定条件を生成し、
     前記ロギング処理部は、前記逐次変化する第1の数値制御情報が前記第2判定条件を満たしたとき、前記ロギング処理を終了する、
     ことを特徴とする請求項1に記載の数値制御装置。
  3.  前記第1または第2の演算処理は、予め設定されたオフセット値を前記基準値からオフセットすることによってしきい値を演算する処理を含み、
     前記ロギング処理部は、前記逐次変化する第1の数値制御情報と前記しきい値との比較に基づいて前記ロギング処理の開始または終了のタイミングを判定する、
     ことを特徴とする請求項2に記載の数値制御装置。
  4.  前記第1の数値制御情報は、アラーム番号、加工プログラムを構成する複数のブロックうちの実行中のブロックの番号、前記加工プログラムを実行開始してからの経過時間、数値制御対象の移動距離、使用工具番号、指令速度、指令主軸回転数、モータの回転数検出値、位置検出値、速度検出値、またはトルク検出値である、
     ことを特徴とする請求項1から請求項3の何れか一項に記載の数値制御装置。
  5.  前記第2の数値制御情報は、加工プログラムを構成する複数のブロックうちの実行中のブロックの番号、前記加工プログラムを実行開始してからの経過時間、数値制御対象の移動距離、使用工具番号、指令速度、指令主軸回転数、モータの回転数検出値、位置検出値、速度検出値、またはトルク検出値である、
     ことを特徴とする請求項1から請求項3の何れか一項に記載の数値制御装置。
  6.  数値制御装置の診断のために逐次変化する数値制御情報をロギング処理するロギング方法であって、
     前記数値制御装置が予め設定された事象の発生を検知したとき、条件生成部が、前記事象の発生が検知されたタイミングにおける第1の数値制御情報を基準値として取得して、前記基準値を用いて予め設定された第1の演算処理を行うことによって第1判定条件を生成する第1生成ステップと、
     前記ロギング処理部が、前記逐次変化する第1の数値制御情報が前記第1判定条件を満たしたとき、逐次変化する第2の数値制御情報のロギング処理を開始する、開始ステップと、
     を備えることを特徴とするロギング方法。
  7.  前記条件生成部が、前記基準値を用いて予め設定された第2の演算処理を行うことによって第2判定条件を生成する第2生成ステップと、
     前記ロギング処理部が、前記逐次変化する第1の数値制御情報が前記第2判定条件を満たしたとき、前記ロギング処理を終了する、終了ステップと、
     をさらに備えることを特徴とする請求項6に記載のロギング方法。
  8.  前記第1または第2の演算処理は、予め設定されたオフセット値を前記基準値からオフセットすることによってしきい値を演算する処理を含み、
     前記開始ステップおよび前記終了ステップは、前記ロギング処理部が、前記逐次変化する第1の数値制御情報と前記しきい値との比較に基づいて前記ロギング処理の開始または終了のタイミングを判定するステップを含む、
     ことを特徴とする請求項6に記載のロギング方法。
  9.  前記第1の数値制御情報は、アラーム番号、加工プログラムを構成する複数のブロックうちの実行中のブロックの番号、前記加工プログラムを実行開始してからの経過時間、数値制御対象の移動距離、使用工具番号、指令速度、指令主軸回転数、モータの回転数検出値、位置検出値、速度検出値、またはトルク検出値である、
     ことを特徴とする請求項6から請求項8の何れか一項に記載のロギング方法。
  10.  前記第2の数値制御情報は、加工プログラムを構成する複数のブロックうちの実行中のブロックの番号、前記加工プログラムを実行開始してからの経過時間、数値制御対象の移動距離、使用工具番号、指令速度、指令主軸回転数、モータの回転数検出値、位置検出値、速度検出値、またはトルク検出値である、
     ことを特徴とする請求項6から請求項8の何れか一項に記載のロギング方法。
PCT/JP2013/083645 2013-12-16 2013-12-16 数値制御装置およびロギング方法 WO2015092853A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
DE112013007685.3T DE112013007685T8 (de) 2013-12-16 2013-12-16 Vorrichtung zur numerischen Steuerung und Logging-Verfahren
CN201380081667.2A CN105829981B (zh) 2013-12-16 2013-12-16 数控装置以及记录方法
PCT/JP2013/083645 WO2015092853A1 (ja) 2013-12-16 2013-12-16 数値制御装置およびロギング方法
JP2014525232A JP5788097B1 (ja) 2013-12-16 2013-12-16 数値制御装置およびロギング方法
US15/035,280 US10254743B2 (en) 2013-12-16 2013-12-16 Numerical control apparatus and logging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2013/083645 WO2015092853A1 (ja) 2013-12-16 2013-12-16 数値制御装置およびロギング方法

Publications (1)

Publication Number Publication Date
WO2015092853A1 true WO2015092853A1 (ja) 2015-06-25

Family

ID=53402249

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/083645 WO2015092853A1 (ja) 2013-12-16 2013-12-16 数値制御装置およびロギング方法

Country Status (5)

Country Link
US (1) US10254743B2 (ja)
JP (1) JP5788097B1 (ja)
CN (1) CN105829981B (ja)
DE (1) DE112013007685T8 (ja)
WO (1) WO2015092853A1 (ja)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017142719A (ja) * 2016-02-12 2017-08-17 ファナック株式会社 加工データ一括出力機能を備えた数値制御装置
WO2017169898A1 (ja) * 2016-03-30 2017-10-05 パナソニックIpマネジメント株式会社 データ蓄積装置、ロボットシステム、およびデータ蓄積方法
WO2018235170A1 (ja) * 2017-06-20 2018-12-27 ヤマザキマザック株式会社 工作機械管理システムおよび工作機械の管理方法
JP2019109697A (ja) * 2017-12-18 2019-07-04 ファナック株式会社 データ収集装置

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6140111B2 (ja) * 2014-07-14 2017-05-31 ファナック株式会社 設定の自動復元機能および誤設定防止機能を備えた数値制御装置
JP6571704B2 (ja) * 2017-02-13 2019-09-04 ファナック株式会社 診断用データ取得システム、診断用システム、及び診断用データ取得プログラム
JP7085370B2 (ja) * 2017-03-16 2022-06-16 株式会社リコー 診断装置、診断システム、診断方法およびプログラム
JP6973427B2 (ja) * 2019-02-15 2021-11-24 株式会社安川電機 通信システム、通信方法、及びプログラム
DE102021212607A1 (de) 2021-11-09 2023-05-11 Siemens Healthcare Gmbh Verfahren zum Bereitstellen eines Trigger-Tokens

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001287254A (ja) * 2000-04-10 2001-10-16 Sumitomo Heavy Ind Ltd 異常監視機能を有する射出成形機
JP2007222997A (ja) * 2006-02-24 2007-09-06 Mitsubishi Electric Corp 工具異常検出装置及び工具異常検出システム

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0573125A (ja) 1991-09-11 1993-03-26 Fanuc Ltd Nc工作機械の加工監視方式
JPH0686580A (ja) 1992-09-01 1994-03-25 Fanuc Ltd サーボ波形表示方式
JP2000122717A (ja) 1998-10-15 2000-04-28 Howa Mach Ltd モニタシステム
JP3543147B2 (ja) 2001-07-10 2004-07-14 ヤマザキマザック株式会社 工作機械の異常管理装置
JP2006039640A (ja) 2004-07-22 2006-02-09 Yaskawa Electric Corp 数値制御装置
US7792605B2 (en) * 2006-07-26 2010-09-07 Mitsubishi Electric Corporation Numerical control apparatus
JP2009122852A (ja) 2007-11-13 2009-06-04 Fanuc Ltd パステーブル運転時の運転履歴を記憶する数値制御装置
JP5430503B2 (ja) 2010-06-16 2014-03-05 富士通テレコムネットワークス株式会社 試験装置と試験方法
JP2012228734A (ja) 2011-04-25 2012-11-22 Panasonic Corp 産業用ロボット

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001287254A (ja) * 2000-04-10 2001-10-16 Sumitomo Heavy Ind Ltd 異常監視機能を有する射出成形機
JP2007222997A (ja) * 2006-02-24 2007-09-06 Mitsubishi Electric Corp 工具異常検出装置及び工具異常検出システム

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017142719A (ja) * 2016-02-12 2017-08-17 ファナック株式会社 加工データ一括出力機能を備えた数値制御装置
US10691106B2 (en) 2016-02-12 2020-06-23 Fanuc Corporation Numerical controller
WO2017169898A1 (ja) * 2016-03-30 2017-10-05 パナソニックIpマネジメント株式会社 データ蓄積装置、ロボットシステム、およびデータ蓄積方法
JPWO2017169898A1 (ja) * 2016-03-30 2019-02-07 パナソニックIpマネジメント株式会社 データ蓄積装置、ロボットシステム、およびデータ蓄積方法
WO2018235170A1 (ja) * 2017-06-20 2018-12-27 ヤマザキマザック株式会社 工作機械管理システムおよび工作機械の管理方法
JP2019109697A (ja) * 2017-12-18 2019-07-04 ファナック株式会社 データ収集装置
US11003162B2 (en) 2017-12-18 2021-05-11 Fanuc Corporation Data collection device

Also Published As

Publication number Publication date
DE112013007685T8 (de) 2016-11-24
DE112013007685T5 (de) 2016-10-06
JP5788097B1 (ja) 2015-09-30
CN105829981B (zh) 2018-11-20
CN105829981A (zh) 2016-08-03
JPWO2015092853A1 (ja) 2017-03-16
US10254743B2 (en) 2019-04-09
US20160291576A1 (en) 2016-10-06

Similar Documents

Publication Publication Date Title
JP5788097B1 (ja) 数値制御装置およびロギング方法
JP6451662B2 (ja) 異常判定装置、異常判定プログラム、異常判定システム、及びモータ制御装置
JP6015178B2 (ja) 安全システム
US20170038761A1 (en) Information acquisition device of machine tool
US9910423B2 (en) Control apparatus for giving notification of maintenance and inspection times of signal-controlled peripheral devices
JP6998781B2 (ja) 故障診断システム
JP6747104B2 (ja) セーフティシステム、プログラム、および方法
US10901398B2 (en) Controller, control program, control system, and control method
JP2018041149A (ja) モデル予測制御装置、モデル予測制御装置の制御方法、情報処理プログラム、および記録媒体
JP2016179527A (ja) ロボットの異常診断を行う機能を有するロボット制御装置
US11531327B2 (en) Abnormality determination device and abnormality determination system
US10409261B2 (en) Method for monitoring a machine tool
JP6603272B2 (ja) 情報収集装置及び情報収集方法
JP6721563B2 (ja) 数値制御装置
WO2019239832A1 (ja) 異常検知システム、設定ツール装置、コントローラ、異常定義情報のデータ構造、および異常対応ファンクションブロック
JP2019139590A (ja) モデル予測制御装置、モデル予測制御装置の制御方法、情報処理プログラム、および記録媒体
JP7063229B2 (ja) 制御装置および制御プログラム
JP2022168706A (ja) 異常検知装置、プログラム、異常検知方法、及び製造方法
JP6985180B2 (ja) 数値制御装置
JP6793898B1 (ja) 振動分析装置および振動分析方法
JP6721012B2 (ja) モータ制御システム
KR102054771B1 (ko) 로봇의 토크 부하율을 이용한 고장 예측방법
JP7471529B1 (ja) 診断システム及び診断方法
JP6863825B2 (ja) 加工時間予測装置
CN109814490B (zh) 噪音监视装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2014525232

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13899933

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15035280

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 112013007685

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13899933

Country of ref document: EP

Kind code of ref document: A1