WO2023145241A1 - 数値制御装置 - Google Patents

数値制御装置 Download PDF

Info

Publication number
WO2023145241A1
WO2023145241A1 PCT/JP2022/043953 JP2022043953W WO2023145241A1 WO 2023145241 A1 WO2023145241 A1 WO 2023145241A1 JP 2022043953 W JP2022043953 W JP 2022043953W WO 2023145241 A1 WO2023145241 A1 WO 2023145241A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
block
automatic operation
unit
restart
Prior art date
Application number
PCT/JP2022/043953
Other languages
English (en)
French (fr)
Inventor
幸次 土持
Original Assignee
Dmg森精機株式会社
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 Dmg森精機株式会社 filed Critical Dmg森精機株式会社
Publication of WO2023145241A1 publication Critical patent/WO2023145241A1/ja

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • 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/4067Restoring data or position after power failure or other interruption
    • 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/4068Verifying part programme on screen, by drawing or other means
    • 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/4093Numerical 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 part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • 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/4155Numerical 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 programme execution, i.e. part programme or machine function execution, e.g. selection of a programme
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present invention relates to a numerical controller that numerically controls the motion mechanism of a machine tool.
  • a machine tool's numerical controller is configured to numerically control the motion mechanism of the machine tool by executing an NC program created for machining.
  • NC programs created at the beginning have room for improvement, and in normal cases, more suitable tool paths and machining conditions are found through trial machining and subsequent operation. is changed to At that time, the contents of the NC program stored in the numerical controller are revised (edited) by the program editing function provided in the numerical controller under the operation of the operator.
  • This midway start method is configured such that a specific block is selected as a midway start block from blocks constituting a machining program (NC program), and the machining program is executed from this midway start block.
  • a tool command block in which a tool change command is described is extracted from the machining program, and the tool number or tool offset number specified in the extracted tool command block is entered into the tool command block.
  • a specific tool number or specific tool offset number is selected from the displayed tool numbers or tool offset numbers, and the specific tool number or specific tool offset number thus selected is commanded. Selects the specified tool command block as a mid-start block.
  • the tool number or tool offset number of the tool to be used in the desired machining process is selected from among the tool numbers or tool offset numbers displayed on the screen using the cursor keys or the like.
  • the tool command block in which the selected tool number or tool offset number is commanded that is, the starting block of the machining process desired to be machined can be started in the middle.
  • the conventional halfway startup method described above has the following problems. That is, in the above-described conventional midway start method, when resuming machining from the middle of a machining program, 1) a tool command block in which a tool change command is described is extracted from the machining program, and 2) the extracted tool command block After displaying the commanded tool number or tool offset number for each tool command block, 3) execute a process of selecting a specific tool number or specific tool offset number from the displayed tool numbers or tool offset numbers.
  • the processing in the control device for the midway start is excessive, and the operator must be familiar with the tools used in each machining process.
  • an operator who is not sufficiently familiar with the machining process temporarily stops machining, shifts the control device to the machining program editing mode, operates the machining program, and then restarts machining. Therefore, for example, if it is possible to determine whether or not a block of a machining program that was being executed when machining was paused is a block that allows machining to be restarted without depending on the operator's judgment, tools and workpieces It is beneficial to be able to reliably avoid interference with
  • the present invention has been made in view of the above circumstances, and is a numerical control system capable of reliably avoiding interference between a tool and a workpiece even if an operator who is not sufficiently familiar with the machining process performs a machining restart operation. Its purpose is to provide a device.
  • the present invention for solving the above problems is a numerical controller for numerically controlling a motion mechanism of a machine tool, a program storage unit for storing an NC program composed of a plurality of blocks in which NC code is written; a display device for displaying at least an NC program in characters; an automatic operation control unit that operates the motion mechanism unit by executing the NC program stored in the program storage unit under numerical control; a suspension processing unit that resumes execution of the NC program after suspending the execution of the NC program when the automatic operation control unit is executing the NC program; When the processing of the automatic operation control unit is suspended by the suspension processing unit, the NC program in execution displayed on the display device is displayed on the display device with the displayed characters specified.
  • a numerical control device comprising a program operation unit that enables operation of character display or enables editing of the NC program, Monitor the execution state of the automatic operation control unit, and specify in the program operation unit immediately before resumption when the execution of the NC program is resumed after the execution of the NC program is suspended by the suspension processing unit Check whether the restart block containing the characters is a predetermined restartable block, and if it is a restartable block, restart the processing from the restart block in the automatic operation control unit, It relates to a numerical control device having an automatic operation monitoring unit that stops processing when a block is not resumable.
  • the NC program stored in the program storage section is executed by the automatic operation control section, and the motion mechanism section of the machine tool is numerically controlled.
  • the suspension processing unit can suspend the execution of the NC program by the automatic operation control unit when the automatic operation control unit is executing the NC program, and the NC program by the automatic operation control unit can be resumed.
  • the program operation unit when the processing of the automatic operation control unit is temporarily stopped by the temporary stop processing unit, for the NC program being executed displayed on the display device, with the displayed character specified To enable character display on a display device or to edit the NC program.
  • the automatic operation monitoring unit monitors the execution state of the automatic operation control unit, and after the execution of the NC program is suspended by the suspension processing unit, when the execution of the NC program is resumed, Check whether the restart block containing the characters specified in the program operation unit is a predetermined restartable block, and if it is a restartable block, the automatic operation control unit Resume the process, and abort the process if it is not a resumable block.
  • the automatic operation monitoring unit monitors the execution state (operating state) of the automatic operation control unit, and after the execution of the NC program is temporarily stopped, the NC program is restarted, it is checked whether or not the block to be restarted is a resumable block, and machining is restarted only when it is a resumable block.
  • interference between the tool and the work can be reliably avoided.
  • the operator since it is possible to determine whether or not a block is resumable without relying on the operator's judgment, the operator does not need to be sufficiently familiar with the machining process executed by the machine tool.
  • the numerical control apparatus can further include a storage unit that stores a block that is predetermined for the NC program to be executed and that can resume the automatic operation.
  • the automatic driving monitoring unit compares the resumable block stored in the storage unit with the resumable block to determine whether the resumable block is in the storage unit. can be configured to determine that the restart block is a restartable block when it matches the restartable block stored in .
  • the resumable block is set in advance, it is possible to quickly perform confirmation processing as to whether or not the resumable block is a resumable block.
  • the numerical control apparatus may further include a storage unit that stores an NC code that is predetermined for an NC program to be executed and that is defined as being capable of resuming automatic operation.
  • the automatic operation monitoring unit checks whether or not the NC code stored in the storage unit is included in the restart block when execution of the NC program is resumed by the automatic operation control unit. It is possible to employ a mode configured to determine that the restart block is a block that can be restarted when it is confirmed and the restart block is a block containing the NC code stored in the storage unit.
  • the resumable block is preset via the NC code, it is possible to quickly perform confirmation processing as to whether or not the resumable block is a resumable block.
  • the automatic operation monitoring unit is further configured to output an alarm to the outside when the restart block is not a block that can be restarted.
  • the restart block is not a block that can be restarted
  • an alarm is output to the outside, so that the operator can instantly understand his operation error.
  • the operator can take measures such as starting the machining program from the beginning.
  • the numerical controller when the execution of the NC program is resumed after the execution of the NC program is suspended, it is determined whether or not the resumed block is a resumable block. is confirmed, and machining is resumed only when it is a resumable block, so even if there is an operation error by the operator, interference between the tool and the workpiece can be reliably avoided.
  • FIG. 1 is a block diagram showing a schematic configuration of a machine tool according to one embodiment of the present invention
  • FIG. It is the flowchart which showed the process in the automatic operation monitoring part which concerns on this embodiment.
  • FIG. 4 is an explanatory diagram showing data stored in a resumable condition storage unit according to the embodiment
  • FIG. 3 is an explanatory diagram showing an example of an NC program according to the embodiment
  • FIG. 11 is an explanatory diagram showing data stored in a resumable condition storage unit according to a modification of the present invention;
  • the machine tool 1 of this example is composed of a numerical control device 10, an input/output device 20, a motion mechanism section 25, and the like.
  • the machine tool 1 includes all types of conventionally known machines having a configuration in which the motion mechanism section 25 is numerically controlled by the numerical controller 10, and examples thereof include lathes, machining centers, and the like. can be used, but is not limited to this.
  • the motion mechanism section 25 is a mechanism section that operates under the control of the numerical control device 10.
  • a spindle mechanism consisting of a spindle motor and a spindle rotated thereby, a feed motor and a It includes a feeding device composed of a reciprocating table and a tool post moved by this, and a turret attached to the tool post.
  • a spindle mechanism composed of a spindle motor and a spindle driven by it, a feed motor and a spindle head moved by this, a feed motor and a carriage and a table moved by this and the like.
  • the input/output device 20 is composed of a display device 21 and an input device 22 .
  • the display device 21 includes a display for displaying characters and images
  • the input device 22 includes a keyboard and a device using a pointer displayed on the display.
  • the device 22 may not be provided completely separately, for example, a mode in which the display unit and the input unit are integrated like a touch panel is included. In addition to such an integral mode, a mode in which independent display units and input units are mixed is also included.
  • the numerical controller 10 includes an input/output control unit 11, a suspension processing unit 12, an automatic operation control unit 13, an automatic operation monitoring unit 14, a program operation unit 15, a program storage unit 16, a resumable condition storage unit 17, and the like. It consists of It should be noted that this configuration is merely a configuration necessary for embodying the present invention, and the numerical control device 10 can of course include other functional portions.
  • the numerical control device 10 is composed of a computer including a CPU, RAM, ROM, etc., and includes the input/output control unit 11, the suspension processing unit 12, the automatic operation control unit 13, the automatic operation monitoring unit 14, and the program operation unit 15. is realized by a computer program, and executes processing described later. Also, the program storage unit 16 and the resumable condition storage unit 17 are configured from an appropriate storage medium such as a RAM.
  • the input/output control unit 11 is a functional unit that controls input/output of the input/output device 20 .
  • the input/output control unit 11 stores data related to the resumable condition input from the input device 20 in the resumable condition storage unit 17, and stores the resumable condition stored in the resumable condition storage unit 17. It is displayed on the display device 21 .
  • the NC program input from the input device 20 is stored in the program storage unit 16 under processing by the program operation unit 15, which will be described in detail later, and the NC program stored in the program storage unit 16 is displayed. Displayed on device 21 .
  • the program storage unit 16 is a functional unit that stores an NC program created for machining, and stores the NC program that is input via the input device 22 and the input/output control unit 11 as described above.
  • the NC program is composed of a plurality of blocks in which NC codes are described, and has a configuration as shown in FIG. 4, for example. Also, each block is defined by a sequence number represented by a serial number following N.
  • the restart condition storage unit 17 is a function unit that stores a block that can be executed from the middle of the NC program being executed after it is suspended, that is, a sequence number.
  • Data input via the device 22 and the input/output control unit 11 are stored in the form of a data table.
  • FIG. 3 shows an example of a data table stored in the restart condition storage unit 17. As shown in FIG. In FIG. 3, a preset resumable block (sequence number) is set for each NC program.
  • O0001 and O0002 are program numbers.
  • the input/output control unit 11 receives operation signals input from the input device 22 and outputs them to the corresponding processing units, that is, the temporary stop processing unit 12, the automatic operation control unit 13, the automatic operation monitoring unit 14, and the program operation. A process of selectively transmitting to one of the units 15 is performed.
  • the program operation unit 15 receives operation signals input from the input device 22 and the input/output control unit 11 and executes processing. For example, when an operation signal for inputting an NC program is received from the input device 22 and the input/output control unit 11, subsequently, the NC program input from the input device 22 and the input/output control unit 11 is stored in the program storage unit. 16 is stored.
  • the program operating section 15 receives a signal for operating the NC program from the input device 22 and the input/output control section 11, the corresponding NC program is displayed on the display device 21 via the input/output control section 11. , making it possible to operate the character display on the display device 21 in a state in which the displayed character is designated, or to enable editing of the NC program, and when the NC program is changed, the changed NC program A process of updating the NC program stored in the program storage unit 16 is performed.
  • This program operation can be executed when the processing by the automatic operation control unit 13 is not being executed, or when the processing by the automatic operation control unit 13 is temporarily stopped.
  • the automatic operation control unit 13 transmits an operation signal for executing the NC program displayed on the display device 21 via the input/output control unit 11 to the input device 22 and the input device.
  • the corresponding NC program is read from the program storage unit 16 in block order and executed to operate the motion mechanism unit 25 under numerical control.
  • the block being executed is displayed on the display device 21 via the input/output control unit 11 so as to be identifiable.
  • the NC program displayed on the display device 21 may be displayed by underlining the block being executed or by reversing black and white.
  • the temporary stop processing unit 12 While the automatic operation control unit 13 is executing the NC program, the temporary stop processing unit 12 outputs a signal for temporarily stopping the execution of the NC program to the input device 22 via the input/output control unit 11.
  • a temporary stop signal is transmitted to the automatic operation control unit 13 to temporarily stop the processing in the automatic operation control unit 13 .
  • an automatic operation restart signal command
  • the automatic operation restart signal is transmitted to the automatic operation control unit 13, and the automatic operation control unit 13 Make the process resumable.
  • a temporary stop signal and an automatic operation restart signal input from the input device 22 are also transmitted to the automatic operation monitoring unit 14 described later via the input/output control unit 11 .
  • the automatic operation monitoring unit 14 monitors the execution state of the automatic operation control unit 13, and when the execution of the NC program is resumed after the execution of the NC program is temporarily stopped by the temporary stop processing unit 12 , immediately before the restart, confirms whether or not the restart block containing the characters specified in the program operation unit 15 is a predetermined restartable block, and if it is a restartable block, the automatic operation control unit The processing from the restart block in 13 is restarted, and when the block is not a restartable block, the processing is stopped.
  • the automatic driving monitoring unit 14 executes the processing shown in FIG. That is, the automatic operation monitoring unit 14 starts processing when the numerical controller 10 is activated, and monitors whether or not the processing by the automatic operation control unit 13 has started (step S1). Then, when the processing by the automatic operation control unit 13 is started, whether or not a pause signal is input from the input device 22 thereafter, in other words, whether the pause signal is transmitted from the input device 22 to the pause processing unit 12 , to monitor whether or not the processing in the automatic operation control unit 13 has been suspended (step S2).
  • step S2 when it is confirmed that the pause signal has been input, the automatic operation monitoring unit 14 transmits a pause maintenance command (signal) to the automatic operation control unit 14 (step S3), The automatic operation control unit 14 is caused to maintain the temporary stop state. That is, the automatic operation control unit 14 receives the pause maintenance command to maintain the pause state, and during this time, the automatic operation restart command is input from the input device 22, and the input/output control unit 11 and the pause process Even if it is input via the unit 12, the pause state is maintained.
  • the automatic operation monitoring unit 14 monitors whether or not an automatic operation restart signal has been input from the input device 22 via the input/output control unit 11 (step S4). Then, when it is confirmed that the automatic operation restart signal has been input (step S4), next, from the processing status of the program operation unit 15, it is determined whether the automatic operation control unit 13 has operated the program being executed. When it is confirmed (step S5) and the program is not operated, an automatic operation restart signal is sent to the automatic operation control unit 13 to restart the processing by the automatic operation control unit 13 (step S7).
  • step S5 when it is confirmed that the program being executed has been operated, next, the restart block when the automatic operation restart signal is input is recognized from the display state of the display device 21, That is, under the processing by the program operating unit 15, a block containing characters specified on the display device 21 is recognized as a resuming block, and whether the recognized resuming block is a block set as a resumable block.
  • the data stored in the resumable condition storage unit 17 is referred to confirm whether or not the block is resumable (step S6). If so, an alarm is displayed on the display device 21 via the input/output control unit 11 (step S9).
  • a pause signal is input while the automatic operation control unit 13 is executing the NC program shown in FIG. 4, and the processing by the automatic operation control unit 13 is paused.
  • the processing by the unit 15 when the NC program being executed is operated and the NC program is restarted from the position (1) in FIG.
  • it is confirmed (determined) whether or not "sequence number N0001" is a resumable block. In this case, since "sequence number N0001" is a resumable block, automatic operation by the automatic operation control unit 13 is resumed.
  • step S7 the automatic operation monitoring unit 14 repeatedly executes the processing from step S1 onward until the processing is completed.
  • the processes after step S1 are repeatedly executed until the process is completed.
  • the program when an operation signal relating to an execution command is input from the input device 22, the program is displayed on the display device 21 under processing by the program operation unit 15.
  • An NC program is executed by the automatic driving control unit 13 .
  • the automatic operation monitoring unit 14 monitors the input status of the operation signal input from the input device 22 and the processing status in the automatic operation control unit 13 .
  • a pause signal is transmitted from the input device 22 to the pause processing unit 12, and the pause processing unit 12 causes the automatic operation control unit 13 to stop processing.
  • the automatic operation monitoring unit 14 subsequently transmits a suspension maintenance command (signal) to the automatic operation control unit 14 to cause the automatic operation control unit 14 to maintain the suspension state.
  • the automatic operation monitoring unit 14 monitors whether or not an automatic operation restart command (signal) is input from the input device 22 via the input/output control unit 11, and the automatic operation restart command is input.
  • an automatic operation restart command signal
  • the automatic operation restart command is transmitted to the automatic operation control unit 13 to restart the processing by the automatic operation control unit 13 .
  • the automatic operation monitoring unit 14 recognizes the restart block when the automatic operation restart command is input from the display state of the display device 21, It is confirmed by referring to the data stored in the resumable condition storage unit 17 whether or not the recognized resumable block is a block set as a resumable block, and if it is a resumable block, An automatic operation restart command is sent to the automatic operation control unit 13 to restart the processing by the automatic operation control unit 13, and in the case of a block that cannot be restarted, the display device via the input/output control unit 11 21 to display an alarm.
  • the execution state of the automatic operation control unit 13 is monitored by the automatic operation monitoring unit 14, and after the execution of the NC program is temporarily stopped, the execution of the NC program is restarted, the automatic operation monitoring unit 14 confirms whether or not the restart block is a restartable block, and machining is restarted only when it is a restartable block. Even if the operator makes a mistake in restarting the machining, the interference between the tool and the workpiece can be reliably avoided.
  • the numerical control device 10 of the present embodiment it is possible to determine whether or not the block is resumable without relying on the operator's judgment. , you don't have to be familiar with it. Further, according to the numerical controller 10, when the restart block is not a block that can be restarted, an alarm is displayed (output) on the display device 21, so that the operator can instantly understand that he/she has made a mistake in operation. In this case, the operator can take measures such as starting the NC program from the beginning.
  • the numerical control device 10 of the present embodiment since information related to resumable blocks is set in advance and stored in the resumable condition storage unit 17, the resumable blocks can be restarted in the automatic operation monitoring unit 14. Therefore, it is possible to quickly perform confirmation processing as to whether or not the block is a valid block.
  • the sequence number (N number) that defines the block itself was used to set the block that can be restarted.
  • N number the sequence number that defines the block itself, that is, the peculiar value of the block.
  • N number the sequence number that defines the block itself, that is, the peculiar value of the block.
  • M code such as "M1" is used as the NC code for defining a resumable block, and information related to the NC code set in this manner is set for each NC program. and stored in the resumable condition storage unit 17 .
  • the automatic operation monitoring unit 14 recognizes the restart block when the automatic operation restart command is input from the display state of the display device 21, and the recognized restart block is set as a restartable NC code.
  • the automatic operation resumption A command is sent to the automatic operation control unit 13 to restart the processing by the automatic operation control unit 13, and if it is a block that does not contain a resumable NC code, that is, a non-restartable block, the input/output control An alarm is displayed on the display device 21 via the unit 11 .
  • M1 means an optional stop, and automatic operation is temporarily stopped in the driving mode with this optional stop “M1” enabled. Therefore, even if the automatic operation is resumed from this "M1", it is possible to avoid interference between the tool and the work. used in the code. Also, the NC code that can be defined as resumable is not limited to this M1, and naturally other NC codes can be used.
  • the automatic driving monitoring unit 14 and the resumable condition storage unit 17 are configured as separate functional units, but they may be configured to be considered as one functional unit.

Landscapes

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

Abstract

数値制御装置(10)は、プログラム記憶部(16)、表示装置(21)、自動運転制御部(13)、一時停止処理部(12)、プログラム操作部(15)及び自動運転監視部(14)などを備える。自動運転監視部(14)は、自動運転制御部(13)の実行状態を監視し、一時停止処理部(12)により、NCプログラムの実行が一時停止された後、当該NCプログラムの実行が再開されるとき、再開直前にプログラム操作部(15)において指定された文字を含む再開ブロックが、予め定められた再開可能なブロックであるか否かを確認し、再開可能なブロックであるときには、自動運転制御部(13)における前記再開ブロックからの処理を再開させ、再開可能なブロックではないときには、処理を中止させる。

Description

数値制御装置
 本発明は、工作機械の運動機構部を数値制御する数値制御装置に関する。
 工作機械の数値制御装置は、加工用に作成されたNCプログラムを実行することで、当該工作機械の運動機構部を数値制御するように構成されている。
 このようなNCプログラムは、当初に作成されたもの殆どは、改良の余地があるものであり、通常の場合、試加工や、その後の運用を経て判明した、より適したツールパスや、加工条件に変更される。その際、数値制御装置に格納されたNCプログラムは、オペレータによる操作の下で、数値制御装置に備えられたプログラム編集機能によって、その内容が改定(編集)される。
 そして、例えば、試加工中に、ツールパスの誤りを発見した場合や、加工条件の再設定を行う必要が生じた場合に、当該NCプログラムに必要な修正を加えた後、修正した加工部分から加工を再開させるといったことが行われている。この場合に、オペレータは、NCプログラムの適正な箇所から加工を再開する必要があるが、例えば、オペレータの不注意により、不適正な箇所から加工を再開すると、工具とワークが干渉するなど、重大な問題を生じる恐れがある。
 そこで、従来、例えば、特開平5-158518公報(下記引用文献1)に開示されるような途中起動方法が提案されている。この途中起動方法は、加工プログラム(NCプログラム)を構成するブロックの中から特定ブロックを途中起動ブロックとして選択させ、この途中起動ブロックから加工プログラムを実行するように構成される。そして、途中起動ブロックを選択する際には、加工プログラムから工具交換指令が記述されている工具指令ブロックを抽出し、抽出した工具指令ブロックに指令されている工具番号或いは工具オフセット番号を工具指令ブロック毎に表示した後、表示した工具番号或いは工具オフセット番号の中から特定の工具番号或いは特定の工具オフセット番号を選択させ、このようにして選択された特定の工具番号或いは特定の工具オフセット番号が指令されている工具指令ブロックを途中起動ブロックとして選択する。
 この従来の途中起動方法によれば、画面に表示されている工具番号或いは工具オフセット番号の中から、加工したい加工工程で使用する工具の工具番号或いは工具オフセット番号をカーソルキー等により選択することにより、選択した工具番号或いは工具オフセット番号が指令されている工具指令ブロック、即ち、加工したい加工工程の先頭ブロックから途中起動ができる。
特開平5-158518公報
 ところが、上述した従来の途中起動方法には、以下に説明するような問題があった。即ち、上記従来の途中起動方法では、加工プログラムの途中から加工を再開させる際に、1)加工プログラムから工具交換指令が記述されている工具指令ブロックを抽出し、2)抽出した工具指令ブロックに指令されている工具番号或いは工具オフセット番号を工具指令ブロック毎に表示した後、3)表示した工具番号或いは工具オフセット番号の中から特定の工具番号或いは特定の工具オフセット番号を選択させるという処理を実行する必要があり、途中起動のための制御装置における処理が過大な上、オペレータが、各加工工程で使用される工具を熟知していなければならないという問題があった。
 工作機械を操作するオペレータの中には、加工工程を十分に熟知していない者も含まれており、このようなオペレータが、加工を一時停止させて、加工プログラムを操作した後、加工を再開させる場合には、正しい工具を選択できない場合がある。
 その一方、加工工程を十分に熟知していないオペレータが、加工を一時停止させて、制御装置を加工プログラムの編集モードに移行させた後、加工プログラムの操作を行い、この後、加工を再開させるべく、例えば、加工を一時停止させたときに実行されていた加工プログラムのブロックが、加工を再開可能なブロックであるか否かを、オペレータの判断によることなく判定することができれば、工具とワークとの干渉を確実に回避することができて有益である。
 本発明は以上の実情に鑑みなされたものであって、加工工程について十分に熟知していないオペレータが加工再開操作を行っても、工具とワークとの干渉を確実に回避することができる数値制御装置の提供を、その目的とする。
 上記課題を解決するための本発明は、工作機械の運動機構部を数値制御する数値制御装置であって、
 NCコードを記述した複数のブロックから構成されるNCプログラムを記憶するプログラム記憶部と、
 少なくともNCプログラムを文字表示する表示装置と、
 数値制御の下、前記プログラム記憶部に記憶されたNCプログラムを実行して前記運動機構部を動作させる自動運転制御部と、
 前記自動運転制御部がNCプログラムを実行しているときに、該NCプログラムの実行を一時停止させた後、該NCプログラムの実行を再開させる一時停止処理部と、
 前記一時停止処理部によって、前記自動運転制御部の処理が一時停止されているときに、前記表示装置に表示された実行中のNCプログラムについて、表示された文字を指定した状態で前記表示装置における文字表示を操作可能にし、又は該NCプログラムを編集可能にするプログラム操作部とを備えた数値制御装置であって、
 前記自動運転制御部の実行状態を監視し、前記一時停止処理部により、NCプログラムの実行が一時停止された後、該NCプログラムの実行が再開されるとき、再開直前に前記プログラム操作部において指定された文字を含む再開ブロックが、予め定められた再開可能なブロックであるか否かを確認し、再開可能なブロックであるときには、前記自動運転制御部における前記再開ブロックからの処理を再開させ、再開可能なブロックではないときには、処理を中止させる自動運転監視部を備えた数値制御装置に係る。
 この数値制御装置によれば、自動運転制御部により、プログラム記憶部に記憶されたNCプログラムが実行され、工作機械の運動機構部が数値制御される。また、一時停止処理部は、自動運転制御部がNCプログラムを実行しているときに、自動運転制御部による当該NCプログラムの実行を一時停止させることができるとともに、自動運転制御部による当該NCプログラムの実行を再開させることができる。また、プログラム操作部は、一時停止処理部によって、自動運転制御部の処理が一時停止されているときに、表示装置に表示された実行中のNCプログラムについて、表示された文字を指定した状態で表示装置における文字表示を操作可能にし、又は当該NCプログラムの編集を可能にする。
 そして、自動運転監視部は、自動運転制御部の実行状態を監視し、一時停止処理部により、NCプログラムの実行が一時停止された後、当該NCプログラムの実行が再開されるとき、再開直前にプログラム操作部において指定された文字を含む再開ブロックが、予め定められた再開可能なブロックであるか否かを確認し、再開可能なブロックであるときには、自動運転制御部における、当該再開ブロックからの処理を再開させ、再開可能なブロックではないときには、処理を中止させる。
 このように、本発明に係る数値制御装置によれば、自動運転監視部により、自動運転制御部の実行状態(運転状態)が監視され、NCプログラムの実行が一時停止された後、当該NCプログラムの実行が再開されるときには、再開ブロックが再開可能なブロックであるか否かが確認され、再開可能なブロックであるときにのみ、加工が再開されるので、例えば、オペレータによる操作ミスがあったとしても、工具とワークとの干渉を確実に回避することができる。また、再開可能なブロックであるか否かをオペレータの判断によることなく判定することができるので、オペレータは、当該工作機械で実行される加工工程について、十分に熟知している必要はない。
 尚、本発明に係る数値制御装置は、実行されるNCプログラムについて予め定められたブロックであって、自動運転を再開可能なブロックを記憶する記憶部を更に備えることができ、この場合、前記前記自動運転監視部は、前記自動運転制御部によりNCプログラムの実行が再開されるとき、前記記憶部に格納された再開可能ブロックと、前記再開ブロックとを比較して、前記再開ブロックが前記記憶部に格納された再開可能ブロックと一致するとき、前記再開ブロックが再開可能なブロックであると判定するように構成された態様を採ることができる。
 この態様の数値制御装置によれば、再開可能ブロックが予め設定されているので、再開ブロックが再開可能なブロックであるか否かの確認処理を迅速に行うことができる。
 或いは、本発明に係る数値制御装置は、実行されるNCプログラムについて予め定められたNCコードであって、自動運転を再開可能であると定義されるNCコードを記憶する記憶部を更に備えることができ、この場合、前記自動運転監視部は、前記自動運転制御部によりNCプログラムの実行が再開されるとき、前記再開ブロック中に、前記記憶部に格納されたNCコードが含まれるか否かを確認し、前記再開ブロックが前記記憶部に格納されたNCコードを含むブロックであるとき、前記再開ブロックが再開可能なブロックであると判定するように構成された態様を採ることができる。
 この態様の数値制御装置によっても、再開可能ブロックがNCコードを介して予め設定されているので、再開ブロックが再開可能なブロックであるか否かの確認処理を迅速に行うことができる。
 また、本発明において、前記自動運転監視部は、前記再開ブロックが、再開可能なブロックではないときには、更に、外部にアラームを出力するように構成されているのが好ましい。
 この態様の数値制御装置によれば、再開ブロックが、再開可能なブロックでないときには、外部にアラームが出力されるので、オペレータは、自身の操作ミスを瞬時に理解することができる。この場合、オペレータは、加工プログラムの冒頭から実施するなどの対応をとることができる。
 以上のように、本発明に係る数値制御装置によれば、NCプログラムの実行が一時停止された後、当該NCプログラムの実行が再開されるときには、再開ブロックが再開可能なブロックであるか否かが確認され、再開可能なブロックであるときにのみ、加工が再開されるので、オペレータによる操作ミスがあったとしても、工具とワークとの干渉を確実に回避することができる。
 また、再開可能なブロックであるか否かをオペレータの判断によることなく判定することができるので、当該工作機械で実行される加工工程について十分な知識を有しているといった専門性の高いオペレータでなくても、当該工作機械を操作することができる。
本発明の一実施形態に係る工作機械の概略構成を示したブロック図である。 本実施形態に係る自動運転監視部における処理を示したフローチャートである。 本実施形態に係る再開可能条件記憶部に格納されるデータを示した説明図である。 本実施形態に係るNCプログラムの一例を示した説明図である。 本発明の変形例に係る再開可能条件記憶部に格納されるデータを示した説明図である。
 以下、本発明の具体的な実施の形態について、図面を参照しながら説明する。
 図1に示すように、本例の工作機械1は、数値制御装置10、入出力装置20、及び運動機構部25などから構成される。尚、工作機械1には、前記数値制御装置10によって、前記運動機構部25が数値制御される構成を有する従来公知の全ての種類のものが含まれ、一例として、旋盤、マシニングセンタなどを挙げることができるが、これに限定されるものではない。
 前記運動機構部25は、前記数値制御装置10により制御されて動作する機構部であり、例えば、旋盤の場合には、主軸モータ及びこれによって回転される主軸から構成される主軸機構、送りモータ及びこれによって移動される往復台及び刃物台などから構成される送り装置、並びに刃物台に装着されるタレットなどが含まれる。また、マシニングセンタの場合には、同じく主軸モータ及びこれによって駆動される主軸、並びに送りモータ及びこれによって移動される主軸頭などから構成される主軸機構、送りモータ及びこれによって移動される往復台及びテーブルなどから構成される送り装置などが含まれる。
 前記入出力装置20は、表示装置21及び入力装置22から構成される。この表示装置21には、文字や画像を表示するディスプレイが含まれ、入力装置22には、キーボードや、ディスプレイに表示されるポインタを用いた態様のものも含まれるが、これら表示装置21及び入力装置22は、完全に別体に設けられていなくてもよく、例えば、タッチパネルのように、表示部と入力部が一体的になっている態様も含まれ、更には、入出力装置20は、このような一体的な態様に加えて、独立した表示部及び入力部が混在した態様も含まれる。
 前記数値制御装置10は、入出力制御部11、一時停止処理部12、自動運転制御部13、自動運転監視部14、プログラム操作部15、プログラム記憶部16及び再開可能条件記憶部17などを備えて構成される。尚、この構成は、あくまでも、本発明を具現化するために必要な構成であって、当然のことながら、数値制御装置10は、他の機能部分を含むことができる。
 また、数値制御装置10は、CPU、RAM、ROMなどを含むコンピュータから構成され、前記入出力制御部11、一時停止処理部12、自動運転制御部13、自動運転監視部14及びプログラム操作部15は、コンピュータプログラムによってその機能が実現され、後述する処理を実行する。また、プログラム記憶部16及び再開可能条件記憶部17はRAMなどの適宜記憶媒体から構成される。
 前記入出力制御部11は、前記入出力装置20の入出力を制御する機能部である。例えば、入出力制御部11は、前記入力装置20から入力される再開可能条件に係るデータを再開可能条件記憶部17に格納するとともに、当該再開可能条件記憶部17に格納された再開可能条件を表示装置21に表示する。また、前記入力装置20から入力されるNCプログラムを、詳しくは後述するプログラム操作部15による処理の下で、プログラム記憶部16に格納するとともに、当該プログラム記憶部16に格納されたNCプログラムを表示装置21に表示する。
 前記プログラム記憶部16は、加工用に作成されたNCプログラムを記憶する機能部であり、上述のようにして前記入力装置22及び入出力制御部11を介して入力されるNCプログラムを記憶する。尚、NCプログラムは、NCコードを記述した複数のブロックから構成されるもので、例えば、図4に示すような構成を有する。また、各ブロックはNに続く連番で表されるシーケンス番号で定義される。
 前記再開条件記憶部17は、実行されているNCプログラムが一時停止された後、その途中から実行することができるブロック、即ち、シーケンス番号を記憶する機能部であり、上述のようにして前記入力装置22及び入出力制御部11を介して入力されるデータを、データテーブルの形式で記憶する。この再開条件記憶部17に格納されるデータテーブルの一例を図3に示す。図3では、NCプログラム毎に予め設定された再開可能なブロック(シーケンス番号)が設定されている。尚、O0001、O0002はプログラム番号である。
 また、前記入出力制御部11は、前記入力装置22から入力される操作信号を、対応する処理部、即ち、前記一時停止処理部12、自動運転制御部13、自動運転監視部14及びプログラム操作部15のうちのいずれかに選択的に送信する処理を行う。
 前記プログラム操作部15は、前記入力装置22及び入出力制御部11から入力される操作信号を受信して、処理を実行する。例えば、前記入力装置22及び入出力制御部11からNCプログラムを入力する操作信号を受信すると、これに続いて、前記入力装置22及び入出力制御部11から入力されるNCプログラムを前記プログラム記憶部16に格納する処理を実行する。
 また、プログラム操作部15は、前記入力装置22及び入出力制御部11からNCプログラムを操作する信号を受信すると、対応するNCプログラムを、入出力制御部11を介して表示装置21に表示して、表示された文字を指定した状態での表示装置21における文字表示を操作可能にし、又は該NCプログラムの編集を可能にし、NCプログラムが変更された場合には、変更されたNCプログラムで、前記プログラム記憶部16に格納されたNCプログラムを更新する処理を行う。尚、このプログラム操作は、前記自動運転制御部13による処理が実行されていないとき、又は、前記自動運転制御部13による処理が一時停止されているときに実行可能となっている。
 前記自動運転制御部13は、前記プログラム操作部15による処理の下で、前記入出力制御部11を介して表示装置21に表示されたNCプログラムを実行する操作信号を、前記入力装置22及び入出力制御部11を介して受信すると、対応するNCプログラムを前記プログラム記憶部16から順次ブロック順に読み出して、これを実行し、前記運動機構部25を数値制御の下で動作させる。その際、前記入出力制御部11を介して、実行しているブロックを識別可能に表示装置21に表示する。この態様の一例としては、表示装置21に表示されたNCプログラムについて、実行中のブロックにアンダーラインを付す、あるいは白黒反転して表示するといった態様が例示される。
 前記一時停止処理部12は、前記自動運転制御部13がNCプログラムを実行しているときに、このNCプログラムの実行を一時停止させる信号を、前記入出力制御部11を介して前記入力装置22から受信すると、前記自動運転制御部13に一時停止信号を送信して、前記自動運転制御部13における処理を一時停止させる。また、前記入出力制御部11を介して前記入力装置22から自動運転再開信号(指令)を受信すると、前記自動運転制御部13に自動運転再開信号を送信して、前記自動運転制御部13における処理を再開可能にする。尚、入力装置22から入力される一時停止信号及び自動運転再開信号は、前記入出力制御部11を介して、後述する前記自動運転監視部14にも送信される。
 前記自動運転監視部14は、前記自動運転制御部13の実行状態を監視し、前記一時停止処理部12により、NCプログラムの実行が一時停止された後、該NCプログラムの実行が再開されるとき、再開直前に前記プログラム操作部15において指定された文字を含む再開ブロックが、予め定められた再開可能なブロックであるか否かを確認し、再開可能なブロックであるときには、前記自動運転制御部13における前記再開ブロックからの処理を再開させ、再開可能なブロックではないときには、処理を中止させる処理を行う。
 具体的には、自動運転監視部14は、図2に示した処理を実行する。即ち、前記自動運転監視部14は、数値制御装置10が起動されることによって処理を開始し、前記自動運転制御部13による処理が開始されたどうかを監視する(ステップS1)。そして、自動運転制御部13による処理が開始されると、以後、一時停止信号が入力装置22から入力されたかどうか、言い換えれば、入力装置22から一時停止処理部12に一時停止信号が送信されて、自動運転制御部13における処理が一時停止されたかどうかを監視する(ステップS2)。
 そして、ステップS2において、一時停止信号が入力されたことが確認されると、自動運転監視部14は、一時停止維持指令(信号)を前記自動運転制御部14に送信して(ステップS3)、自動運転制御部14に一時停止状態を維持させる。即ち、自動運転制御部14は、一時停止維持指令を受信することによって一時停止状態を維持し、この間に、入力装置22から自動運転再開指令が入力され、これが入出力制御部11及び一時停止処理部12を介して入力されたとしても、一時停止状態を維持する。
 次に、自動運転監視部14は、入力装置22から自動運転再開信号が入力されたかどうかを、入出力制御部11を介して監視する(ステップS4)。そして、自動運転再開信号が入力されたことが確認されると(ステップS4)、次に、前記プログラム操作部15の処理状況から、自動運転制御部13によって実行中のプログラムが操作されたかどうかを確認し(ステップS5)、プログラムが操作されていない場合には、自動運転再開信号を前記自動運転制御部13に送信して、当該自動運転制御部13による処理を再開させる(ステップS7)。
 一方、前記ステップS5において、実行中のプログラムが操作されたことが確認された場合には、次に、自動運転再開信号が入力された時の再開ブロックを、表示装置21の表示状態から認識、即ち、前記プログラム操作部15による処理の下で、表示装置21上で指定された文字を含むブロックを再開ブロックとして認識し、認識された再開ブロックが再開可能なブロックとして設定されたブロックであるか否かを、前記再開可能条件記憶部17に格納されたデータを参照して確認し(ステップS6)、再開可能なブロックである場合には、前記ステップS7の処理を実行し、再開不可なブロックである場合には、前記入出力制御部11を介して前記表示装置21にアラームを表示させる(ステップS9)。
 例えば、自動運転制御部13が図4に示したNCプログラムを実行している途中に一時停止信号が入力されて、当該自動運転制御部13による処理が一時停止され、一時停止中に、プログラム操作部15による処理の下で、実行中のNCプログラムが操作された場合に、図4において(1)の位置からNCプログラムが再開される場合、自動運転監視部13は再開可能条件記憶部17に格納された図3に示すデータを参照して、「シーケンス番号N0001」が再開可能なブロックであるか否かを確認(判別)する。この場合、「シーケンス番号N0001」は再開可能なブロックであるので、自動運転制御部13による自動運転が再開される。
 図3に示した例では、上記の他に「シーケンス番号N0012」、「シーケンス番号N0020」、「シーケンス番号N0051」などは再開可能なブロックであるので、例えば、図4の(2)及び(3)で示したブロックからの自動運転の再開は自動運転監視部14によって許可される。一方、「シーケンス番号N0025」、「シーケンス番号N0026」などは再開不可なブロックであるので、例えば、図4の(4)及び(5)で示したブロックからの自動運転の再開は自動運転監視部14によって拒絶される。尚、「シーケンス番号N0001」は、NCプログラムの冒頭のブロックであるので、常時再開可能なブロックである。
 そして、自動運転監視部14は、ステップS7を実行後、加工が終了されるまでステップS1以降の処理を繰り返して実行し、また、当該加工が終了された後は、数値制御装置10における処理が終了されるまで、ステップS1以降の処理を繰り返して実行する。
 以上のように構成された本例の数値制御装置10によれば、入力装置22から実行指令に係る操作信号が入力されると、プログラム操作部15による処理の下で表示装置21に表示されたNCプログラムが、自動運転制御部13によって実行される。そして、この入力装置22から入力される操作信号の入力状況、及び自動運転制御部13における処理状況が自動運転監視部14によって監視される。
 そして、自動運転制御部13によってNCプログラムが実行されているときに、入力装置22から一時停止処理部12に一時停止信号が送信され、この一時停止処理部12によって自動運転制御部13における処理が一時停止されると、この後、自動運転監視部14は、一時停止維持指令(信号)を自動運転制御部14に送信して、自動運転制御部14に一時停止状態を維持させる。
 そして、この状態で、自動運転監視部14は、入力装置22から自動運転再開指令(信号)が入力されたかどうかを、入出力制御部11を介して監視し、自動運転再開指令が入力されたことが確認されると、次に、前記プログラム操作部15の処理状況から、自動運転制御部13によって実行中のプログラムが操作されたかどうかを確認し、プログラムが操作されていない場合には、自動運転再開指令を前記自動運転制御部13に送信して、当該自動運転制御部13による処理を再開させる。
 一方、実行中のプログラムが操作されたことが確認された場合には、自動運転監視部14は、自動運転再開指令が入力された時の再開ブロックを、表示装置21の表示状態から認識し、認識された再開ブロックが再開可能なブロックとして設定されたブロックであるか否かを、再開可能条件記憶部17に格納されたデータを参照して確認し、再開可能なブロックである場合には、自動運転再開指令を前記自動運転制御部13に送信して、当該自動運転制御部13による処理を再開させ、再開不可なブロックである場合には、前記入出力制御部11を介して前記表示装置21にアラームを表示させる。
 斯くして、本例の数値制御装置10によれば、自動運転監視部14により、自動運転制御部13の実行状態が監視され、NCプログラムの実行が一時停止された後、当該NCプログラムの実行が再開されるときに、当該自動運転監視部14により、再開ブロックが再開可能なブロックであるか否かが確認され、再開可能なブロックであるときにのみ、加工が再開されるので、例えば、オペレータによる加工再開操作にミスがあったとしても、工具とワークとの干渉を確実に回避することができる。
 また、本例の数値制御装置10によれば、再開可能なブロックであるか否かをオペレータの判断によることなく判定することができるので、オペレータは、当該工作機械1で実行される加工工程について、熟知している必要はない。また、この数値制御装置10によれば、再開ブロックが、再開可能なブロックでないときには、表示装置21にアラームが表示(出力)されるので、オペレータは、自身が操作ミスしたことを瞬時に理解することができ、この場合、オペレータは、NCプログラムの冒頭から実施するなどの対応をとることができる。
 また、本例の数値制御装置10によれば、再開可能ブロックに係る情報が予め設定されて前記再開可能条件記憶部17に格納されているので、自動運転監視部14において、再開ブロックが再開可能なブロックであるか否かの確認処理を迅速に行うことができる。
 以上、本発明の一具体的な実施の形態について説明したが、本発明が採り得る態様は、何ら上例のものに限定されるものではない。
 例えば、上述した例では、再開可能なブロックの設定に当たり、ブロック自体を定義するシーケンス番号(N番号)、即ちブロックの固有値を用いたが、これに限られるものではなく、特定のNCコードを基準に、再開可能なブロックであるか否かを識別するようにしても良い。この例を、図5に示す。図5に示した例では、再開可能なブロックを定義するためのNCコードとして、「M1」などMコードを用いており、このように設定されたNCコードに係る情報がNCプログラム毎に設定されて、前記再開可能条件記憶部17に格納される。
 この場合、自動運転監視部14は、自動運転再開指令が入力された時の再開ブロックを、表示装置21の表示状態から認識し、認識された再開ブロックが中に再開可能なNCコードとして設定されたNCコードが再開ブロック中に含まれるか否かを、再開可能条件記憶部17に格納されたデータを参照して確認し、再開可能なNCコードを含むブロックである場合には、自動運転再開指令を前記自動運転制御部13に送信して、当該自動運転制御部13による処理を再開させ、再開可能なNCコードを含まないブロック、即ち、再開不可ブロックである場合には、前記入出力制御部11を介して前記表示装置21にアラームを表示させる。
 尚、「M1」はオプショナルストップ意味するものであり、このオプショナルストップ「M1」を有効にした運転モードでは、自動運転が一時停止される。したがって、この「M1」から自動運転を再開させても、工具とワークとの干渉を回避することが可能であり、このため、この例では、「M1」を再開可能であることを定義するNCコードに用いている。また、再開可能であると定義可能なNCコードは、このM1に限られるものではなく、当然のことながら、他のNCコードを用いることができる。
 また、上例では、自動運転監視部14と再開可能条件記憶部17とを別々の機能部として構成したが、これらが一つの機能部として観念されるように構成しても良い。
 繰り返しになるが、上述の実施形態の説明は、すべての点で例示であって、制限的なものではない。当業者にとって変形および変更が適宜可能である。本発明の範囲は、上述の実施形態ではなく、特許請求の範囲によって示される。さらに、本発明の範囲には、特許請求の範囲内と均等の範囲内での実施形態からの変更が含まれる。
 1  工作機械
 10 数値制御装置
 11 入出力制御部
 12 一時停止処理部
 13 自動運転制御部
 14 自動運転監視部
 15 プログラム操作部
 16 プログラム記憶部
 17 再開可能条件記憶部
 20 入出力装置
 21 表示装置
 22 入力装置
 25 運動機構部
 

Claims (4)

  1.  工作機械の運動機構部を数値制御する数値制御装置であって、
     NCコードを記述した複数のブロックから構成されるNCプログラムを記憶するプログラム記憶部と、
     少なくともNCプログラムを文字表示する表示装置と、
     数値制御の下、前記プログラム記憶部に記憶されたNCプログラムを実行して前記運動機構部を動作させる自動運転制御部と、
     前記自動運転制御部がNCプログラムを実行しているときに、該NCプログラムの実行を一時停止させた後、該NCプログラムの実行を再開させる一時停止処理部と、
     前記一時停止処理部によって、前記自動運転制御部の処理が一時停止されているときに、前記表示装置に表示された実行中のNCプログラムについて、表示された文字を指定した状態で前記表示装置における文字表示を操作可能にし、又は該NCプログラムを編集可能にするプログラム操作部とを備えた数値制御装置において、
     前記自動運転制御部の実行状態を監視し、前記一時停止処理部により、NCプログラムの実行が一時停止された後、該NCプログラムの実行が再開されるとき、再開直前に前記プログラム操作部において指定された文字を含む再開ブロックが、予め定められた再開可能なブロックであるか否かを確認し、再開可能なブロックであるときには、前記自動運転制御部における前記再開ブロックからの処理を再開させ、再開可能なブロックではないときには、処理を中止させる自動運転監視部を設けたことを特徴とする数値制御装置。
  2.  実行されるNCプログラムについて予め定められたブロックであって、自動運転を再開可能なブロックを記憶する記憶部を更に備え、
     前記自動運転監視部は、前記自動運転制御部によりNCプログラムの実行が再開されるとき、前記記憶部に格納された再開可能ブロックと、前記再開ブロックとを比較して、前記再開ブロックが前記記憶部に格納された再開可能ブロックと一致するとき、前記再開ブロックが再開可能なブロックであると判定するように構成されていることを特徴とする請求項1記載の数値制御装置。
  3.  実行されるNCプログラムについて予め定められたNCコードであって、自動運転を再開可能であると定義されるNCコードを記憶する記憶部を更に備え、
     前記自動運転監視部は、前記自動運転制御部によりNCプログラムの実行が再開されるとき、前記再開ブロック中に、前記記憶部に格納されたNCコードが含まれるか否かを確認し、前記再開ブロックが前記記憶部に格納されたNCコードを含むブロックであるとき、前記再開ブロックが再開可能なブロックであると判定するように構成されていることを特徴とする請求項1記載の数値制御装置。
  4.  前記自動運転監視部は、前記再開ブロックが、再開可能なブロックではないときには、更に、外部にアラームを出力するように構成されていることを特徴とする請求項1から3のいずれか1項に記載の数値制御装置。
     
PCT/JP2022/043953 2022-01-25 2022-11-29 数値制御装置 WO2023145241A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022009274A JP7130157B1 (ja) 2022-01-25 2022-01-25 数値制御装置
JP2022-009274 2022-01-25

Publications (1)

Publication Number Publication Date
WO2023145241A1 true WO2023145241A1 (ja) 2023-08-03

Family

ID=83148907

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/043953 WO2023145241A1 (ja) 2022-01-25 2022-11-29 数値制御装置

Country Status (2)

Country Link
JP (1) JP7130157B1 (ja)
WO (1) WO2023145241A1 (ja)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06202723A (ja) * 1992-12-28 1994-07-22 Mitsubishi Electric Corp 数値制御工作機械
JP2002373008A (ja) * 2001-06-15 2002-12-26 Mitsubishi Electric Corp 数値制御装置
JP2006331118A (ja) * 2005-05-26 2006-12-07 Toshiba Corp コマンド実行装置、コマンド実行方法およびコマンド実行プログラム
JP2009053801A (ja) * 2007-08-24 2009-03-12 Fanuc Ltd プログラム再開機能を備えた数値制御装置
JP2010044489A (ja) * 2008-08-11 2010-02-25 Fanuc Ltd 加工再開機能を有する数値制御装置
JP2015222550A (ja) * 2014-05-23 2015-12-10 ファナック株式会社 プログラム加工再開機能を有する数値制御装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06202723A (ja) * 1992-12-28 1994-07-22 Mitsubishi Electric Corp 数値制御工作機械
JP2002373008A (ja) * 2001-06-15 2002-12-26 Mitsubishi Electric Corp 数値制御装置
JP2006331118A (ja) * 2005-05-26 2006-12-07 Toshiba Corp コマンド実行装置、コマンド実行方法およびコマンド実行プログラム
JP2009053801A (ja) * 2007-08-24 2009-03-12 Fanuc Ltd プログラム再開機能を備えた数値制御装置
JP2010044489A (ja) * 2008-08-11 2010-02-25 Fanuc Ltd 加工再開機能を有する数値制御装置
JP2015222550A (ja) * 2014-05-23 2015-12-10 ファナック株式会社 プログラム加工再開機能を有する数値制御装置

Also Published As

Publication number Publication date
JP7130157B1 (ja) 2022-09-02
JP2023108254A (ja) 2023-08-04

Similar Documents

Publication Publication Date Title
JP5778430B2 (ja) 工作機械の制御装置
EP0223857B1 (en) Method of compiling nc programs for a four-axes lathe
US20100204818A1 (en) Numerical control device
JPS5968003A (ja) 数値制御工作機械の非常機械原点復帰装置
US5327350A (en) Interactive type numerical control apparatus and method thereof
US4714999A (en) Numerical control method
US6290403B1 (en) Sequence program execution control system
WO2023145241A1 (ja) 数値制御装置
JP6638979B2 (ja) 加工工程管理機能付き数値制御装置および加工工程管理プログラム
JP5210070B2 (ja) 数値制御工作機械
JP2000126991A (ja) Nc工作機械の制御装置
JPH06202723A (ja) 数値制御工作機械
JP2015053016A (ja) プログラム再開機能を備えた数値制御装置
JP3180805B2 (ja) 数値制御工作機械
JP2003225783A (ja) レーザ加工の途中停止後再開方法およびその装置
JPH0746287B2 (ja) 数値制御装置
JP2973770B2 (ja) 数値制御工作機械
JP3092744B2 (ja) 加工システム
JPH0242510A (ja) 加工情報表示方式
KR910009240B1 (ko) 수치제어장치
JPH02151909A (ja) 産業用機械の制御装置
JP2959601B2 (ja) 数値制御装置
JPH01226004A (ja) 数値制御方式
JPH0392907A (ja) 数値制御装置
JP2680955B2 (ja) 穴あけ再開始制御方式

Legal Events

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

Ref document number: 22924093

Country of ref document: EP

Kind code of ref document: A1