Numerical controller

文档序号:1566860 发布日期:2020-01-24 浏览:22次 中文

阅读说明:本技术 数值控制装置 (Numerical controller ) 是由 松本英治 于 2019-07-16 设计创作,主要内容包括:本发明涉及一种数值控制装置,特别涉及支持冲孔加工后的再加工的数值控制装置。一种控制冲孔加工的数值控制装置,其按照加工程序来执行冲孔加工,检测冲孔加工没有正常结束的现象,收集并存储为了再执行产生了现象的程序块所需要的信息,使用信息来恢复产生现象时的加工状态,并再执行冲孔加工。(The present invention relates to a numerical controller, and more particularly to a numerical controller that supports rework after punching. A numerical controller for controlling punching, which executes punching according to a machining program, detects a phenomenon that the punching does not end normally, collects and stores information necessary for re-executing a block in which the phenomenon occurs, restores the machining state when the phenomenon occurs using the information, and re-executes the punching.)

1. A numerical controller for controlling a punching process, characterized in that,

the numerical controller includes:

a punching execution unit that executes punching in accordance with a processing program;

a punching error detection unit for detecting that the punching has not been completed normally;

a re-punching information storage unit that collects and stores information necessary for re-executing the block in which the phenomenon occurs; and

and a re-punching execution unit that restores a processing state when the phenomenon occurs using the information, and re-executes punching.

2. The numerical control apparatus according to claim 1,

the information includes at least one of an end point coordinate of a block where the phenomenon is generated and a selection tool.

3. Numerical control apparatus according to claim 1 or 2,

the re-punching information storage unit collects and stores the information on the plurality of blocks in which the phenomenon occurs in the punching performed by the punching execution unit,

the re-punching execution unit re-executes the punching process on the block selected by the user among the plurality of blocks.

4. The numerical controller according to any one of claims 1 to 3,

after the punching operation by the punching operation execution unit is stopped or finished, the re-punching operation execution unit re-executes the punching operation.

Technical Field

The present invention relates to a numerical controller, and more particularly to a numerical controller that supports rework after punching.

Background

In machining by a press machine, a plurality of punching (drilling) operations are often performed on one workpiece. In the case of performing a plurality of punching operations, a phenomenon (hereinafter, simply referred to as "error") occurs in which the punching operation is not actually performed at a position where the punching operation should be performed due to an arbitrary external factor or the like. As an example of the external factor, a case where a load is applied to the punch tool to bring the punch lock state is described.

For example, japanese patent application laid-open No. 2000-158055 discloses an automatic drilling device that determines whether an error has occurred by detecting the amount of movement of a punch using a position sensor such as a limit switch or the like, or by detecting the penetration of a punch into a workpiece and punching.

When an error occurs in the punching process, the following correspondence is typically adopted. One corresponds to treating and discarding the workpiece as a processing failure. The other correspondence is that the rework can be performed on the position where the error has occurred, that is, the position where the punching process should be performed originally.

When the work is discarded, waste of the work occurs, and the yield is deteriorated. When the error occurrence position is reworked, an operator performs coordinate calculation or the like by himself or herself, specifies the position coordinates of the error occurrence position or a state of the machining (tool selection or the like), and manually performs the rework. There is a problem in that too much load is applied to the operator.

Disclosure of Invention

The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a numerical controller that supports rework after punching.

A numerical controller according to the present invention is a numerical controller for controlling punching, the numerical controller including: a punching execution unit that executes punching in accordance with a processing program; a punching error detection unit for detecting that the punching has not been completed normally; a re-punching information storage unit that collects and stores information necessary for re-executing the block in which the phenomenon occurs; and a re-punching execution unit that restores a processing state when the phenomenon occurs using the information, and re-executes punching.

In the numerical controller according to one embodiment of the present invention, the information includes at least one of an end point coordinate of a block in which the phenomenon occurs and a selected tool.

In the numerical controller according to one embodiment of the present invention, the re-punching information storage unit collects and stores the information on a plurality of blocks in which the phenomenon occurs in the punching process performed by the punching process execution unit, and the re-punching process execution unit re-executes the punching process on the block selected by the user among the plurality of blocks.

In the numerical controller according to one embodiment of the present invention, the re-punching execution unit re-executes the punching process after the punching process by the punching execution unit is stopped or completed.

The present invention can provide a numerical controller that supports rework after punching.

Drawings

The above and other objects and features of the present invention will become apparent from the following description of the embodiments with reference to the accompanying drawings. In the drawings:

fig. 1 is a diagram showing an example of a hardware configuration of a numerical controller.

Fig. 2 is a diagram showing an example of a functional configuration of the numerical controller.

Fig. 3 is a flowchart showing an example of an operation when an error occurs.

Fig. 4 is a flowchart showing an example of the re-punching operation.

Fig. 5 is a diagram illustrating an example of the operation of the counter showing the error detection result.

Fig. 6 shows an example of a list of blocks in which an error has occurred and a selection screen.

Detailed Description

Fig. 1 is a schematic hardware configuration diagram showing a main part of a numerical controller 1 according to an embodiment of the present invention. The numerical controller 1 is a device for controlling a punch (hereinafter referred to as a "punch") for performing punching. The numerical controller 1 includes a CPU11, a ROM12, a RAM13, a nonvolatile memory 14, an interface 18, a bus 19, and a shaft control circuit 16. The numerical controller 1 is connected to a servo amplifier 40, a servo motor 50, and an input/output device 60.

The CPU11 is a processor that controls the numerical controller 1 as a whole. The CPU11 reads out a system program stored in the ROM12 via the bus 19, and controls the entire numerical controller 1 in accordance with the system program.

The ROM12 stores in advance systems/programs for performing various controls of punching and the like.

The RAM13 temporarily stores therein temporary calculation data, display data, data or programs input by an operator via the input/output device 60 described later, and the like.

The nonvolatile memory 14 is backed up by, for example, a battery not shown, and maintains a storage state even when the power supply of the numerical controller 1 is cut off. The nonvolatile memory 14 stores data, programs, and the like input from the input/output device 60. Programs or data stored in the non-volatile memory 14 may be deployed to the RAM13 during execution and during use.

The axis control circuit 16 controls the operation axis of the punching. The axis control circuit 16 receives the amount of the axis movement command output from the CPU11, and outputs the axis movement command to the servo amplifier 40.

The servo amplifier 40 receives a shaft movement command output from the shaft control circuit 16 and drives the servo motor 50.

The servo motor 50 is driven by the servo amplifier 40 to move the operation axis of the punching. The servo motor 50 typically incorporates position and velocity detectors. The detector outputs a position/velocity feedback signal, which is fed back to the shaft control circuit 16, thereby performing feedback control of the position or velocity.

The numerical controller 1 in fig. 1 is described as having only one set of the axis control circuit 16, the servo amplifier 40, and the servo motor 50, but actually the set is prepared by only the amount corresponding to the number of axes of the punched holes to be controlled.

The input/output device 60 is a data input/output device provided with a display, hardware keys, and the like, and is a typical operation panel. The input/output device 60 displays information received from the CPU11 via the interface 18 on a display. The input/output device 60 transmits commands, data, and the like input from hardware keys and the like to the CPU11 via the interface 18.

Fig. 2 is a block diagram showing a schematic functional configuration of the numerical controller 1 according to the embodiment of the present invention. The numerical controller 1 includes a punching processing execution unit 101, a punching processing error detection unit 102, a re-punching processing information storage unit 103, and a re-punching processing execution unit 104.

The punching execution unit 101 executes punching according to the processing program.

The punching error detection unit 102 detects an error generated when the punching execution unit 101 executes punching. The error detection method is well known and therefore will not be discussed in detail here, but for example, the technique described in japanese patent application laid-open No. 2000-158055 can be adopted.

The punching error detection unit 102 of the present embodiment has a counter indicating the result of error detection, and operates the counter according to whether or not there is an error in the punching process (i.e., whether or not the punching process is completed (successful) every time each block is executed.

That is, the punching error detection unit 102 resets (updates to 0) the counter-1 at the start of the block for punching after the punching is normally completed, with the counter +1 being set at the start. On the other hand, the punching error detection unit 102 does not operate the counter when punching is an error. Thus, if the counter is 0 at the start of the next block, the operation of the block is normally ended. On the other hand, if the counter is other than 0 at the start of the next block, an error is generated in the previous block.

The re-punching information storage unit 103 stores various information (end point coordinates of the block, selected tool number, and the like) necessary for re-executing the block in which the error occurred.

When the value of the counter is referred to before the start of the next block and is other than 0, the re-punching information storage unit 103 stores information (end point coordinates, selected tool number, and the like) related to the previous block in a predetermined storage area. After that, the re-punching information storage unit 103 resets the counter-1.

The re-punching process execution unit 104 executes re-punching at a location where an error has occurred. Preferably, the re-punching processing execution unit 104 notifies the user of the occurrence of an error, receives an operation of starting the re-punching by the user, and executes the re-punching.

Typically, the rebonding execution unit 104 notifies the user of the occurrence of an error after the machining is stopped (more specifically, the feeding and holding) or after the machining is completed. At this time, various information (end point coordinates, selected tool number, and the like) about the error-generating block stored in the re-punching information storage unit 103 is presented to the user. Since a plurality of pieces of information are stored when an error occurs in a plurality of blocks, the re-punching execution unit 104 displays the pieces of information in a list on the NC screen so that the user can select one or more blocks to be re-executed. Fig. 6 shows an example of a display screen of a block in which an error has occurred. Here, 2 blocks are displayed indicating a state in which one (upper stage) is selected by the user. The re-punching execution unit 104 performs the processing of the selected block.

The timing of the re-punching is arbitrary. As described above, if the machining is performed after the machining is stopped or the machining is completed, the machining accuracy is advantageous in terms of the machining accuracy, that is, the machining accuracy can be highly maintained. Alternatively, if it is performed at the timing of tool replacement, it is advantageous in the machining time, i.e., the machining time can be shortened. Further, the implementation of the process of requesting the user instruction as described above is also arbitrary. That is, the re-punching process execution unit 104 can automatically execute the re-punching at an arbitrary timing after the error occurs.

< action at the time of error occurrence >

Here, the operation of the counter showing the error detection result will be described according to a specific example using fig. 5. Now, the punching processing execution unit 101 executes the punching processing of the N01 block, and normally ends the processing. At this time, the counter value before the next block N02 is executed is 0.

The punching execution unit 101 starts the punching of the N02 block. Before execution, the re-punching information storage unit 103 refers to the counter and determines it to be 0, and the punching error detection unit 102 compares the counter + 1. When the punching process is normally completed, the punching process error detection unit 102 counts the counter-1. The counter value before the next block N03 is executed is 0.

The punching execution unit 101 starts the punching of the N03 block. Before execution, the re-punching information storage unit 103 refers to the counter and determines it to be 0, and the punching error detection unit 102 compares the counter + 1. Here, an error is generated in the punching process. Since the punching error detection unit 102 does not operate the counter, the counter value before the next block N03 is executed is 1.

The punching execution unit 101 starts the punching of the N04 block. Before execution, if the re-punching information storage unit 103 refers to the counter and detects that the value is not 0, that is, 1, the information (the end point coordinates, the selected tool number, and the like) related to the previous block N03 is acquired and stored in a predetermined storage area. Since the execution of N04 has not yet started at this stage, the re-punching information storage unit 103 can acquire the information related to the previous block N03. The re-punching information storage unit 103 returns the counter-1 to the same state as that at the end of normal punching. The punching error detection unit 102 sets a counter + 1. When the punching operation is normally completed by the punching operation execution unit 101, the punching operation error detection unit 102 sets a counter-1. The counter value before the next block is executed is 0.

The following processing is described using the flowchart of fig. 3: the punching execution unit 101, the punching error detection unit 102, and the re-punching information storage unit 103 detect a block in which an error has occurred and store information relating to the block.

S101: the punching execution unit 101 has a function of sequentially executing blocks described in a machining program. In this step, the punching execution unit 101 specifies a block to be executed next (referred to as a next block) and starts execution.

S102: before the punching operation is executed, the re-punching information storage unit 103 refers to the counter. If the counter is 0, go to S105. If the counter is other than 0, the process goes to S103.

S103: the re-punching information storage unit 103 collects various information (for example, the end point coordinates of the block, the selected tool number, and the like) related to the execution of the block before, and stores the information in a predetermined storage area. These are information required for re-executing the block in which the error is generated.

S104: the re-punching information storage unit 103 resets the counter-1.

S105: the punching error detection unit 102 sets a counter + 1.

S106: the punching operation is performed by the punching operation execution unit 101.

S107: the punching error detection unit 102 determines whether or not the punching operation of S106 is normally completed by using a known technique. If the normal termination is made, go to step S108. If an error is generated, the process proceeds to step S101 without executing S108.

S108: the re-punching information storage unit 103 resets the counter-1.

< actions during rework >

An example of processing in which the re-punching execution unit 104 re-performs punching on a block in which an error has occurred will be described with reference to the flowchart of fig. 4. Typically, this block is executed after a machining pause or the machining is finished.

S201: the re-piercing processing execution unit 104 refers to the information about the error-occurring block stored in the re-piercing processing information storage unit 103 in step S103, and displays the error-occurring block list screen shown in fig. 6. The program may be configured such that a plurality of blocks in which an error occurs are displayed on the screen and a user can select and designate one or more blocks. The re-punching execution unit 104 acquires one or more error selection blocks selected and designated by the user. Examples of the information acquired by the re-punching processing execution unit 104 include an end point coordinate, a selected tool number, and the like.

S202: since the re-punching execution unit 104 re-executes the block acquired in step S201, the processing state is restored based on the information about the block in which the re-punching information storage unit 103 has generated the error, which is stored in step S103. For example, the XY axis is positioned at the end point coordinates of the block in which the error occurs, and the operation of selecting the tool number selected at that time is performed.

S203: the re-punching operation execution unit 104 executes a punching operation.

S204: if the operation of re-punching the blocks selected in step S201 and having errors is completed, the process proceeds to step S206. If there is an error-producing block whose reprocessing has not been completed, the process proceeds to step S205.

S205: the processing from step S201 is repeated until all selected error-generating blocks are re-punched.

S206: when the re-punching process execution unit 104 executes the post-processing stop, the process proceeds to step S207. In other cases, the re-piercing process execution unit 104 ends the process when executing the process after the end of the process, for example.

S207: the XY axis or the selected tool is returned to the state at the machining pause, and the machining is started.

< effects >

According to the present embodiment, when a punching operation is erroneous due to any external factor or the like during execution of a machining program, block information (end point coordinates, selected tool number, or the like) necessary for re-execution of the erroneous block is automatically stored. When the re-punching operation is started, the state at the time of error occurrence is automatically restored by using the stored block information, and only the punching operation at the error occurrence location is re-executed. This eliminates the need for an operator to perform coordinate calculation or the like in person, calculate the position coordinates of the error occurrence position, and restore the state (XY-axis coordinates, tool number selection, or the like) during machining.

In the present embodiment, even when an error occurs a plurality of times during the machining, the block information can be stored every time an error occurs, and necessary information can be selected from the block information and started at the time of the re-punching. Further, the selected plurality of locations can be re-punched. This can reduce the burden on the operator.

While the main embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and can be implemented in various ways by adding appropriate modifications.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种转轨堆垛机路径生成与运动控制方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类