Numerical control for controlling the path during test operation near the path limit
The numerical control system addresses the inefficiencies in verifying machining programs by setting approach distances and temporarily stopping movements near limits, reducing operator effort and time while ensuring safe operation.
Patent Information
- Application Number
- DE102016009435
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2015-08-10
- Filing Date
- 2016-08-03
- Publication Date
- 2024-11-14
- Estimated Expiration
- 2036-08-03
AI Technical Summary
Existing numerical controls for machine tools require significant operator effort and time to verify machining programs near movement limits, risking collisions and failing to efficiently manage movement blocking limits during test operations.
A numerical control system that sets an approach distance to movement limits, temporarily stops axis movement near these limits, and restricts movement distances to ensure safe verification by automatically adjusting permissible distances based on proximity to blocking limits.
Reduces operator workload and verification time by safely and efficiently managing movement limits during test operations, minimizing the risk of collisions and enhancing the reliability of machining programs.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
BACKGROUND OF THE INVENTION 1. Field of the Invention
[0001] The invention relates to a numerical control for driving a machine tool and in particular to a numerical control for reliably verifying the validity of a machining program and a movement lock limit by monitoring a stroke during test operation near a stroke limit. 2. State of the art
[0002] Whether a machining program of a numerical control system driving a machine tool correctly executes a target operation must be verified through actual operation before operating the machine tool. Examples of an operation verification section of a machining program include a mode of executing a test operation with a single block, performing an operation for each commanded block, moving and stopping a tool or workpiece using a block as a unit, and verifying whether the target operation is correctly executed.
[0003] During the operation of a machine tool, there is a possibility of collision between the tool and a component of the machine tool or a fixture for clamping a workpiece to be machined during the movement of the tool 4 or a table on which the workpiece is mounted. To prevent such a collision, the numerical control system has a travel limit function that sets a movement lock limit for the tool. When the machine tool is operated with a new machining program to machine a workpiece different from the previous operation, the fixture for clamping the workpiece is generally changed, and thus the movement lock limit of the tool in the travel limit function described above must also be changed.
[0004] When machining a workpiece that is different from the previous work cycle, the machining program or the motion lock limit related to the workpiece will be changed. Therefore, the operator must carefully perform a verification operation when checking a machining program during movements near the motion lock limit to avoid collisions between machine components or the fixture and the tool due to a program command error or range setting error.To avoid such a collision, the operator must move the tool gradually, reducing the speed by a certain amount. The operator must perform this operation very carefully to prevent collision between the tool and the machine components or the clamping device. The operator must press a stop button to stop the machine immediately. This places a burden on the operator, and verification is time-consuming.
[0005] Recently, multi-axis or multi-path machine tools and the correspondingly complex numerical control systems have become increasingly common, increasing the effort and operating time required to verify the validity of machining programs. Therefore, one goal in machine operation is to reduce the time required for verification and to minimize operator strain as much as possible.
[0006] JP 06-075615 A describes a numerical control for reading out a machining program block by block according to set time intervals and for automatically executing the machining program in order to smoothly carry out the verification operation of an operator when verifying the machining program in test mode.
[0007] In the above-mentioned numerical control, an operation is started automatically at certain time intervals, which reduces the operator's trouble of repeated starting.
[0008] However, since the travel is not restricted, the operator must pay close attention to the verification operation to ensure that no collisions occur between a chuck or machine component and the tool when operating near the travel limit.
[0009] JP 06-282318 A and JP 2008-257550 A describe a numerical controller that sets an execution amount that produces a movement in a test operation for the unit of a block using a number of selected blocks over a predetermined distance or time.
[0010] The above numerical controller can set an execution section that generates a movement at a time of a test operation using a specific number of blocks, a specified distance or time, and considering a specific block. Therefore, the operator's labor of repeatedly pressing a start button is reduced during a test operation with minute motion command blocks. However, in a machining program without minute block commands, a movement distance can be effectively limited to a certain amount. However, since the movement range is not specified, there is a possibility that a movement distance may be restricted even if it is a relatively safe range away from a stroke limit.
[0011] JP 03-119407 A describes a numerical control which limits a movement in a certain area to only a predetermined unit movement.
[0012] This numerical control can only restrict movement to a predetermined unit movement amount within a specified range. However, the numerical control cannot temporarily stop movement near a travel limit, change a movement distance according to proximity to a movement-lock limit, or restrict movement only in one direction toward the movement-lock limit. Therefore, this prior art is insufficient as a measure to relieve an operator's attention requirements during a verification operation.
[0013] JP 2013-125453 A describes a numerical control which detects and displays an extent of operation according to which a travel limit is exceeded during manual operation of a machine tool in order to enable the operator to carry out the work more relaxed within a range which does not exceed the travel limit.
[0014] When a machine is operated manually, the above numerical control can determine the extent to which a manual feeder of the machine can continue to operate until the travel limit is exceeded, based on the movement amount of the manual feeder, and display the result. However, the numerical control does not reduce the operator's workload during verification operations when the machine is operated automatically according to a command from a machining program.
[0015] US 2015 / 0309501 A1 discloses a numerically controlled machine tool with a tool post and a tool unit. The machine tool further comprises a movement restriction device designed to prevent the tool unit from entering a non-entry zone.
[0016] US 2015 / 0268661 A1 discloses a simulation device comprising a touch panel, a simulation execution device, and an NC program generator. The simulation execution device displays an image of a moving structure on the touch panel, moves the image according to a manual operation, and checks for the occurrence of a fault. In the event of a fault, the movement is stopped and the occurrence of a fault is displayed on the touch panel. If no fault occurs, the NC program generator generates an NC program.
[0017] US 2015 / 0045941 A1 discloses a disturbance detection device that detects interference between structures of the NC machine tool, a tool, and a workpiece during machining using an NC machine tool. The device includes a disturbance detection processing unit that virtually moves models and detects the occurrence of a disturbance based on a position control signal from a numerical control system. BRIEF DESCRIPTION OF THE INVENTION
[0018] In view of the above circumstances, an object of the invention is to reduce the time required for verification and the burden on an operator when verifying an operation when executing a test program of the machining program, and to securely verify the validity of a machining program and a movement lock limit by temporarily stopping a movement near a travel limit and gradually reducing an allowable movement distance as it approaches the movement lock limit.
[0019] A numerical controller according to the invention controls a machine tool by relative movement of a tool and a workpiece according to commands of a machining program and has a test mode for the machining program. The numerical controller includes: an approach distance setting device that sets, for each axis, an approach distance to a movement-lock limit of the tool or the workpiece; an approach-limit axis stop device that, during the test mode, temporarily stops axis movement at a limit of a near range determined based on the approach distance set by the approach distance setting device and the movement-lock limit;a permissible movement distance calculation unit that obtains a permissible movement distance for each axis in the direction of approaching the movement-lock limit, such that the permissible movement distance during the test mode and in an axis movement within the near range is smaller than a distance to the movement-lock limit; a movement distance determination unit that determines whether or not a movement distance for each axis moving during the test mode exceeds the permissible movement distance determined by the permissible movement distance calculation unit; and an axis movement limiting unit that stops an axis movement by limiting a movement distance within a range that does not exceed the permissible movement distance when it is determined that an axis exceeding the permissible movement distance exists.
[0020] The permissible movement distance to be obtained by the calculation unit can be set to a part m / n of the distance to the movement restriction limit, where m and n are integers and m <n gilt.
[0021] The allowable movement distance calculation unit may be configured to prevent the movement distance from being less than a predetermined distance by setting the allowable movement distance.
[0022] The allowable movement distance calculating means may be configured to change the allowable movement distance by overriding in accordance with a command or a signal relating to the allowable movement distance.
[0023] The numerical control may be configured to display a message when an axis movement is stopped by the approach limit axis stop device.
[0024] With the invention, even when a new machining program is set up or when an operation is performed after a movement lock limit for a tool is reset, it is possible to easily reduce the workload regarding the observation requirements of the operator when verifying an operation and also to reduce the time required for this.
[0025] If an operation is performed near a tool's motion lock limit, the movement is automatically stopped before the motion lock limit is exceeded, and the path of an axis approaching the motion lock limit is restricted to a range close to the motion lock limit. This allows the operator to safely verify the validity (applicability) of a machining program and a motion lock limit. BRIEF DESCRIPTION OF THE CHARACTERS
[0026] The above and other objects and features of the invention will become even clearer from the following description of embodiments with reference to the figures: Fig. 1 is a block diagram showing a schematic structure of the hardware of a numerical control system according to an embodiment of the invention; Fig. 2 illustrates with a block diagram a function of the numerical control according to Fig. 1; Fig. 3 is a diagram illustrating an example of axis motion control when a machining program command involves approaching an area near a path limit; Fig. 4 illustrates with a diagram the determination of first and second stop points from a relationship between an area near the path limit and the machining program according to Fig. 3; Fig. 5 illustrates with a diagram the determination of a third stopping point after determining the first and second stopping points according to Fig. 4; Fig. 6 is a flowchart for explaining the procedure in the approach limit axis stop device of the numerical controller according to Fig. 2; Fig. 7 is a flowchart for explaining the process in the allowable movement distance calculation device of the numerical controller according to Fig. 2; and Fig. 8 is a flowchart for explaining the operation in the movement distance determining device and the axis movement limiting device of the numerical controller according to Fig. 2. DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
[0027] Fig. 1 is a block diagram for explaining the structure of the components of a numerical controller according to the invention.
[0028] The numerical control according to Fig. 1 limits the travel (feed) during test operation near a travel limit, and a processor 10 is used for this purpose. The processor 10 controls the entire numerical control 1 according to a system program stored in a read-only memory (ROM) 11. An erasable ROM (EPROM) or an electrically erasable programmable ROM (EEPROM) can be used as the ROM 11.
[0029] For example, a dynamic random access memory (DRAM) is used as RAM 12 for storing calculation data, display data, input / output signals, etc., which are temporarily retained data. A CMOS or SRAM, each backed up by a battery (not shown), for example, is used as non-volatile memory 13 for storing parameters, machining programs, tool compensation data, setting error compensation data, and the like, which must be retained even after the power is turned off. Furthermore, the non-volatile memory 13 stores designation data regarding a movement prohibition limit in a movement restriction function or designation data regarding a range near a stroke limit.
[0030] A data display / input device, such as a liquid crystal display (LCD / MDI) 18, is arranged on the front of the numerical control unit 1 or at the same location as the machine control panel, and serves to display data and figures, input data, and other data for operating the numerical control unit 1. A graphic control circuit 19 converts digital signals relating to the numerical data, figure data, and the like into a raster signal for display and sends the converted raster signal to the display unit 20. The display unit 20 displays a numerical value and a figure, respectively. An LCD is preferably used as the display unit 20.
[0031] A keyboard 21 has numeric keys, symbol keys, letter keys, and function keys and is used for creating and editing a machining program and operating the numerical control. A software key 22, for example, is located in a lower area of the display device 20, and its functions are displayed on the display device. If the image on the display device 20 changes, the function of the software key 22 changes according to the displayed function.
[0032] An axis control circuit 14 receives a command to move an axis from the processor 10 and outputs the command to move the axis to a servo amplifier 15. The servo amplifier 15 amplifies the command, drives a servo motor (not shown) connected to a machine tool 23, and controls the relative movement between a tool and a workpiece of the machine tool 23. The number of axis control circuits 14 and servo amplifiers 15 corresponds to the number of axes.
[0033] A programmable machine controller (PMC) 16 receives M (auxiliary) function signals, S (spindle speed control) function signals, T (tool selection) function signals, and the like from the processor 10 via a bus 17. The PMC 16 processes the signals with a sequence program, outputs an output signal, and controls the pneumatic equipment, hydraulic equipment, an electromagnetic actuator, and the like in the machine tool 23. Furthermore, the PMC 16 receives key signals, switch signals, limit switch signals, and the like from the machine operation panel of the machine tool 23, performs sequential processing, and transmits the required input signals to the processor 10 via the bus 17.
[0034] A spindle motor control circuit, an amplifier for a spindle motor and the like are in Fig. 1 omitted for clarity.
[0035] Fig. 2 shows a block diagram of the basic functions of the numerical control according to Fig. 1 to limit the path during test operation near a path boundary.
[0036] A decoder 32 decodes a movement command of a block of a machining program 31 and obtains a command end point by adding respective compensation values such as a tool diameter offset and a tool length offset.
[0037] An approach distance setting device 33 sets an approach distance from a movement lock limit of a workpiece or tool used in a travel limit function for each axis and stores the set approach distance. An approach limit axis stop device 34 commands a pulse distribution device 35 to temporarily decelerate and stop an axis movement at the boundary of a range near a travel limit determined according to a set value stored in the approach distance setting device 33. If the axis movement is stopped by the approach limit axis stop device 34, this can be displayed on the display device 20.
[0038] The permissible movement distance calculation device 36 obtains, in a test operation, a movement distance in a direction toward a travel limit restriction area near the travel limit, according to the set value stored by the approach distance setting device 33, such that the permissible movement distance is shorter than a distance to the movement restriction limit (for example, a ratio m / n of the distance to the movement restriction limit, where m and n are integers and m is less than n). This is performed for each axis. A movement distance determination device 37 checks whether the path of each axis to the end point obtained by the decoding device 32 in the test operation within the near range exceeds the permissible movement distance obtained by the permissible movement distance calculation device 36.If it is determined that an axis is present which would exceed the permissible movement distance, the movement distance determining device 37 causes an axis movement limiting device 38 to restrict a movement distance within a range which does not exceed the permissible movement distance and then the pulse distribution device 35 is instructed to decelerate and stop the axis movement.
[0039] The pulse distribution device 35 drives the servo motor of the machine tool by outputting interpolation pulses according to the command to the axis control side.
[0040] Fig. 3 explains an example of an axis motion control operation when a command of a machining program reaches an area near a travel limit.
[0041] In Fig. 3 the “area near the path limit” in the xy-plane is given by the neighbouring distance I xin the X-axis direction and a neighboring distance l y in the Y-axis direction from a path-cutting exclusion zone. Fig. 3 shows that a “command end point” is commanded in the “area near the path boundary”.
[0042] The Fig. 4 and Fig. 5 show how a stop point is subsequently determined from a relationship between the machining program and the area near the path limit according to Fig. 3.
[0043] The Fig. 4 and Fig. 5 shows an embodiment in which the permissible movement distance calculation device 36 sets a permissible movement distance toward the restricted area to a value corresponding to half the distance to the movement restriction limit.
[0044] Fig. 4 shows the movement under control of the approach limit axis stop device 34 according to Fig. 3 at an "X-axis approach limit" as a first stop point and at a "Y-axis approach limit" as a second stop point upon reaching the "area near the travel limit." Thus, upon reaching the area near the travel limit, the movement stops at the approach limits of the respective axes.
[0045] In the processing program according to Fig. 3 the tool first passes the “x-axis approach limit” in the movement [1], and thus according to Fig. 4 the intersection point at the x-axis approach limit is set as the first stop point ( Fig. 4). In the subsequent movement [2], a distance in the x-axis direction (neighbor distance) from the first stop point to an x-axis movement blocking limit I x and thus a maximum permissible movement distance in the x-axis direction from the first stop point to the path limitation blocking area I x / 2. In this case, the x-axis has not yet reached the y-axis approach limit and thus in the subsequent movement [2] the movable point of the y-axis is on the “y-axis approach limit” and in the machining program command the y-axis approach limit is reached first (before the x-axis access limit of the movement [2] according to Fig. 4) and thus the second stop point becomes the pass point at the y-axis approach limit.
[0046] Fig. Figure 5 shows how a third stop point is determined by starting the subsequent movement [3], starting from the second stop point according to Fig. 4.
[0047] In the subsequent movement [3], a distance in the x-axis direction from the second stop point to the x-axis movement blocking limit is Fig. 5 I x2 and thus a maximum movable distance in the x-axis direction when approaching the movement limit is I x2 / 2. The distance from the second stop point to the x-axis movement lock limit in the y-axis direction is l y and thus a maximum distance in the y-axis direction to the movement blocking limit is l y / 2. In the machining program command, first the “x-axis access limit of the movement [3] according to Fig. 5“ is reached (before the y-axis access limit of the movement [3] according to Fig. 5") and thus the third stop point is the intersection point at the x-axis access limit.
[0048] Although the representation of a fourth stop point is omitted, an access limit is set for each axis such that half of the remaining travel for each axis toward the travel limit lock area is set as the maximum value. Fig. 5 is a flowchart for explaining the procedure in each control period of the approach limit axis stop device 34 of the numerical controller according to Fig. 2. The individual steps are described below. [Step SA01]
[0049] A check is made to determine whether a current operating state is a test mode or not. The process proceeds to step SA02 if the current operating state is a test mode, and the process is terminated if the current operating state is not a test mode. [Step SA02]
[0050] An axis number n is set to 1. [Step SA03]
[0051] It is checked whether a position of an nth axis, after distribution of the motion pulses to each axis in the current control cycle, exceeds a boundary (approach limit) of a region near the travel limit according to a setting value stored in the approach distance setting device 33. The process proceeds to step SA04 if the position exceeds the approach limit, and the process proceeds to step SA05 if the position does not exceed the approach limit. [Step SA04]
[0052] A movement pulse distribution amount with respect to the n-th axis is changed to a movement pulse amount for a movement to the approach limit. [Step SA05]
[0053] The number of axes n is updated to n+1. [Step SA06]
[0054] A check is made to determine whether the number of axes n exceeds the number of axes to be controlled. The present process is terminated if the number of axes n exceeds the number of axes to be controlled, while the process returns to step SA03 if the number of axes n does not exceed the number of axes to be controlled.
[0055] Fig. Fig. 7 is a flowchart for explaining the process in each control period in the allowable travel distance calculating means 36 in the numerical controller according to Fig. 2. The individual steps are described below. [Step SB01]
[0056] It is checked whether a current operating state is a test mode and also whether a current position of an axis is within the range near the travel limit, as determined from the value stored in the approach distance setting device 33. If the current operating state is the test mode and the position is within the range near the travel limit, the process proceeds to step SB02; otherwise, the operation is terminated. [Step SB02]
[0057] The number of axes n is set to 1. [Step SB03]
[0058] It is checked whether a direction in which the nt axis moves is toward the lock area or not. The process proceeds to step SB04 if the direction is toward the lock area, while the process proceeds to step SB05 if the direction is not toward the lock area. [Step SB04]
[0059] A permissible movement distance of the n-th axes is set to a value smaller than the distance to the movement lock limit (for example, half the distance to the movement lock limit). [Step SB05]
[0060] The number of axes n is updated to n+1. [Step SB06]
[0061] A check is performed to determine whether the number of axes n exceeds the number of axes to be controlled. The current operation is terminated if the number of axes n exceeds the number of axes to be controlled, while the operation returns to step SB03 if the number of axes n does not exceed the number of axes to be controlled.
[0062] Fig. Fig. 8 is a flowchart for explaining the operation in the movement distance determining means 37 in each control period and in the axis movement limiting means 38 of the numerical controller according to Fig.2. The individual steps are described below. [Step SC01]
[0063] It is checked whether a current operating state is a test mode and further whether a current position of an axis is in a range near the travel limit, as determined from the value stored in the approach distance setting device 33. If the current operating state is a test mode and the position is in the near range, the process proceeds to step SC02; otherwise, this process is terminated. [Step SC02]
[0064] An axis number n is set to 1. [Step SC03]
[0065] It is checked whether the distribution number of motion pulses (including the distribution number in the current control period) distributed for the nth axis (starting from a motion stop point in the previous cycle) exceeds the allowable movement distance of the nth axis. The process proceeds to step SC04 if the distribution number exceeds the allowable movement distance, while the process proceeds to step SC05 if the distribution number does not exceed the allowable travel distance. [Step SC04]
[0066] The distribution amount of the n-th axis motion pulses is changed to a pulse amount for movement to a position obtained by adding the allowable movement distance to the stop point in the previous cycle. [Step SC05]
[0067] The number of axes n is updated to n+1. [Step SC06]
[0068] A check is performed to determine whether the number of axes n exceeds the number of axes to be controlled. The process is terminated if the number of axes n exceeds the number of axes to be controlled, while the process returns to step SC03 if the number of axes n does not exceed the number of axes to be controlled.
[0069] Embodiments of the invention have been described in detail above. However, the invention is not limited thereto and can be implemented with various modifications.
[0070] Although the exemplary embodiments only concern an xy plane with two axes, the operation can also be performed spatially by limiting the travel to any control axis. A machining program can also be used for a curved movement, such as a circular arc, in addition to a linear movement.
[0071] The above illustrates an embodiment in which the allowable travel distance calculator 36 determines the allowable travel distance by setting it to half the remaining distance for each axis toward the lock region as the maximum value. When a test of a program command to move an axis extremely close to the lock region is executed, there is a problem in that the axis is stopped several times by the axis movement limiting device 38 in order to bring the axis to the position commanded by the program command, resulting in an extended test execution time. This problem can be solved by fixing ("clamping") the allowable travel distance obtained by the allowable travel distance calculator to prevent the travel distance from becoming less than a predetermined distance.
[0072] The allowable travel distance calculation device 36 can also be configured to set an override state when determining the allowable travel distance according to an override value specified by a command or signal. For example, if the allowable travel distance calculation device 36 sets this to half the remaining path of each axis toward the lock region as the maximum value according to the above embodiments, it may be desired that the axis reach the lock region more quickly, or that a slower approach to the lock region is advantageous for more accurate observation, depending on the machining program test or the machining conditions.If the bridging state is then established when determining the permissible movement distance by the calculation device 36, the permissible movement distance can often be changed according to the circumstances by an operator by pressing a corresponding button on the control panel.
Claims
[1] Numerical control (1) for controlling a machine tool (23) by relative movement of a tool and a workpiece according to commands of a machining program (31), wherein the numerical control (1) has a test mode for the machining program (31) and comprises: an approach distance setting device (33) which sets an approach distance from a movement lock limit of the tool or workpiece for each axis; an approach limit axis stopping device (34) which, during the test mode, temporarily stops an axis movement at a limit of a near range determined on the basis of the approach distance set by the approach distance setting device (33) and the movement lock limit; a permissible movement distance calculation device (36) which, during the test mode and during an axis movement within the near range, obtains for each axis a permissible movement distance in the direction of the movement lock limit such that the permissible movement distance is smaller than a distance between the respective axis and the movement lock limit; a movement distance determining means (37) which checks whether a movement distance of each axis moving in the test mode exceeds the permissible movement distance as determined by the permissible movement distance calculating means (36); and an axis movement limiting device (38) which stops an axis movement by limiting the movement distance within a range which does not exceed the permissible movement distance when it is determined that an axis is present which would exceed the permissible movement distance. [2] A numerical controller according to claim 1, wherein the allowable movement distance obtained by said allowable movement distance calculating means (36) is set to an m / n-th part of the distance to the movement prohibition limit, where m and n are integers and m < n. [3] A numerical controller according to claim 1, wherein said allowable movement distance calculating means (36) is arranged to prevent an allowable movement distance from becoming smaller than a predetermined distance by setting the allowable movement distance. [4] A numerical controller according to claim 1, wherein said allowable movement distance calculating means (36) is arranged to change said allowable movement distance by setting an override in accordance with a command or a signal relating to said allowable movement distance. [5] A numerical controller according to claim 1, wherein it is arranged to display a message when an axis movement is stopped by the approach limit axis stopping means (34).
Citation Information
Patent Citations
Numerical control device
JP1991119407A
Numerical controller
JP1994075615A
Mumerically controlled machine tool
JP1994282318A
Numerical control apparatus
JP2008257550A
Numerical controller including manual feeder
JP2013125453A
