Numerical Control Device
The numerical control device simplifies the process of specifying control conditions for movement paths in machining programs by defining control areas and generating commands, reducing operator workload and enhancing efficiency.
Patent Information
- Application Number
- JP2023507093
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-03-16
- Filing Date
- 2022-03-14
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2042-03-14
AI Technical Summary
Changing control conditions for a part of the movement path in a machining program requires specifying the block in the program, which is a burdensome task for operators.
A numerical control device with an area information reception unit to define control areas, a control condition setting section to set conditions within these areas, and a command generation section to generate control commands based on these conditions.
Enables easy setting of control conditions for specific movement paths in machining programs, reducing operator burden and improving efficiency.
Smart Images

Figure 0007602013000001 
Figure 0007602013000002 
Figure 0007602013000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a numerical control device for controlling a machine tool. [Background technology]
[0002] In a machining program used to machine a workpiece, a movement path of a tool and control conditions for moving the tool along the movement path are specified using a predetermined code (for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2017-156835 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, when changing the control conditions for a part of the movement path specified in the machining program, it is necessary to specify the block in the machining program for which the control conditions are to be changed. For example, when changing the machining conditions for a part of the surface of the workpiece, it is necessary to specify the block that specifies the machining of this part in the machining program. In this case, the worker must search for the block to be changed from among many blocks. This places a heavy burden on the worker.
[0005] An object of the present disclosure is to provide a numerical control device that can easily specify control conditions for a part of a movement path specified in a machining program. [Means for solving the problem]
[0006] The numerical control device comprises an area information receiving unit that receives input of data defining a control area in which control conditions are set within a movement area of an axis of a machine tool, an area setting unit that sets the control area based on the data received by the area information receiving unit, a control condition setting unit that sets control conditions within the control area, and a command generating unit that generates control commands within the control area based on the control conditions. Effect of the Invention
[0007] The present disclosure makes it possible to easily set control conditions for a portion of a movement path specified in a machining program. [Brief description of the drawings]
[0008] [Figure 1] FIG. 2 is a diagram illustrating an example of a hardware configuration of a machine tool. [Diagram 2] FIG. 2 is a block diagram showing an example of a function of a numerical control device. [Diagram 3] FIG. 11 is a diagram illustrating an example of data defining a control region. [Figure 4] 11 is a diagram illustrating an example of a tool movement path identified by a path identification unit; FIG. [Diagram 5] FIG. 13 is a diagram illustrating an example of dividing a travel route. [Figure 6] FIG. 13 is a diagram illustrating a tolerance in a smoothing process. [Figure 7] FIG. 10 is a diagram illustrating an example of a control command generated by a command generating unit. [Figure 8] 4 is a flowchart showing an example of a flow of processing executed in a numerical control device. [Figure 9] FIG. 2 is a block diagram showing an example of a function of a numerical control device. [Figure 10] FIG. 2 is a diagram illustrating an example of a control region. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings. Note that not all combinations of features described in the following embodiment are necessarily required to solve the problem. In addition, unnecessary detailed description may be omitted. In addition, the following description of the embodiment and the drawings are provided to enable a person skilled in the art to fully understand the present disclosure, and are not intended to limit the scope of the claims.
[0010] 1 is a diagram showing an example of a hardware configuration of a machine tool 1. The machine tool 1 is, for example, a lathe, a machining center, a multi-tasking machine, or an electric discharge machine.
[0011] The machine tool 1 includes, for example, a numerical control device 2, an input / output device 3, a servo amplifier 4 and a servo motor 5, a spindle amplifier 6 and a spindle motor 7, and auxiliary equipment 8.
[0012] The numerical control device 2 is a device that controls the entire machine tool 1. The numerical control device 2 includes a CPU (Central Processing Unit) 201, a bus 202, a ROM (Read Only Memory) 203, a RAM (Random Access Memory) 204, and a non-volatile memory 205.
[0013] The CPU 201 is a processor that controls the entire numerical control device 2 in accordance with a system program. The CPU 201 reads the system program and the like stored in the ROM 203 via the bus 202. The CPU 201 also controls the servo motor 5 and the spindle motor 7 based on the machining program.
[0014] The CPU 201 performs, for example, analysis of a machining program and output of a control command to the servo motor 5 for each control period.
[0015] The bus 202 is a communication path that connects each piece of hardware in the numerical control device 2 to each other. The pieces of hardware in the numerical control device 2 exchange data via the bus 202.
[0016] The ROM 203 is a storage device that stores a system program for controlling the entire numerical control device 2. The ROM 203 is a computer-readable storage medium.
[0017] The RAM 204 is a storage device that temporarily stores various data and functions as a working area for the CPU 201 to process various data.
[0018] The non-volatile memory 205 is a storage device that retains data even when the machine tool 1 is turned off and no power is being supplied to the numerical control device 2. The non-volatile memory 205 stores, for example, a machining program and various parameters input from the input / output device 3. The non-volatile memory 205 is a computer-readable storage medium. The non-volatile memory 205 is formed, for example, of an SSD (Solid State Drive).
[0019] The numerical control device 2 further includes an interface 206 , an axis control circuit 207 , a spindle control circuit 208 , a PLC (Programmable Logic Controller) 209 , and an I / O unit 210 .
[0020] The interface 206 connects the bus 202 and the input / output device 3. The interface 206 sends, for example, various data processed by the CPU 201 to the input / output device 3.
[0021] The input / output device 3 is a device that receives various data via the interface 206 and displays the various data. The input / output device 3 also accepts input of various data and sends the various data to the CPU 201 via the interface 206. The input / output device 3 includes a display such as an LCD (Liquid Crystal Display), a keyboard, a mouse, and the like. The input / output device 3 may also be a touch panel.
[0022] The axis control circuit 207 is a circuit that controls the servo motor 5. The axis control circuit 207 receives a control command from the CPU 201 and outputs a command to drive the servo motor 5 to the servo amplifier 4. The axis control circuit 207 sends, for example, a torque command to control the torque of the servo motor 5 to the servo amplifier 4.
[0023] The servo amplifier 4 receives a command from the axis control circuit 207 and supplies a current to the servo motor 5 .
[0024] The servo motor 5 is driven by receiving a current supply from the servo amplifier 4. The servo motor 5 is connected to, for example, a ball screw that drives a tool post, a spindle head, or a table. When the servo motor 5 is driven, the structures of the machine tool 1, such as the tool post, the spindle head, or the table, move, for example, in the X-axis direction, Y-axis direction, or Z-axis direction. The servo motor 5 may include a built-in speed detector (not shown) that detects the feed speed of each axis.
[0025] The spindle control circuit 208 is a circuit for controlling the spindle motor 7. The spindle control circuit 208 receives a control command from the CPU 201 and outputs a command for driving the spindle motor 7 to the spindle amplifier 6. The spindle control circuit 208 sends, for example, a torque command for controlling the torque of the spindle motor 7 to the spindle amplifier 6.
[0026] The spindle amplifier 6 receives a command from the spindle control circuit 208 and supplies a current to the spindle motor 7. The spindle amplifier 6 includes an ammeter 61 that measures the current value of the current supplied to the spindle motor 7.
[0027] The ammeter 61 detects the current value of the current supplied to the spindle motor 7. The ammeter 61 sends data indicating the detected current value to the CPU 201.
[0028] The spindle motor 7 is driven by receiving a current supply from the spindle amplifier 6. The spindle motor 7 is connected to a main shaft and rotates the main shaft.
[0029] The PLC 209 is a device that executes a ladder program to control the auxiliary device 8. The PLC 209 sends commands to the auxiliary device 8 via the I / O unit 210.
[0030] The I / O unit 210 is an interface that connects the PLC 209 and the auxiliary device 8. The I / O unit 210 transmits commands received from the PLC 209 to the auxiliary device 8.
[0031] The auxiliary device 8 is installed in the machine tool 1 and performs auxiliary operations in the machine tool 1. The auxiliary device 8 may be a device installed in the periphery of the machine tool 1. The auxiliary device 8 operates based on a command received from the I / O unit 210. The auxiliary device 8 is, for example, a tool changer, a cutting fluid ejection device, or an opening / closing door drive device.
[0032] Next, an example of the function of the numerical control device 2 will be described.
[0033] 2 is a block diagram showing an example of functions of the numerical control device 2. The numerical control device 2 includes a program storage unit 211, a region information receiving unit 212, a region setting unit 213, a path specifying unit 214, a block specifying unit 215, a block dividing unit 216, a control condition receiving unit 217, a control condition setting unit 218, a command generating unit 219, and a control unit 220.
[0034] The program storage unit 211 is realized by storing a machining program inputted from the input / output device 3 or the like in the RAM 204 or the non-volatile memory 205 .
[0035] The area information receiving unit 212, the area setting unit 213, the path identification unit 214, the block identification unit 215, the block division unit 216, the control condition receiving unit 217, the control condition setting unit 218, the command generation unit 219, and the control unit 220 are realized, for example, by the CPU 201 performing arithmetic processing using the system program stored in the ROM 203 and various data stored in the non-volatile memory 205.
[0036] The program storage unit 211 stores a machining program. The machining program is a program for machining a workpiece by operating each part of the machine tool 1. In the machining program, control conditions such as the movement path of the tool, the rotation speed of the spindle, the feed rate, and the like, and control conditions for each function are specified using G codes, S codes, F codes, codes defined for each function, and the like.
[0037] The area information receiving unit 212 receives input of data that defines a control area within the movement area of the axes of the machine tool 1. The movement area of the axes is an area in which the axes can move in a coordinate system set in the machine tool 1. The control area is an area within the movement area of the axes in which control conditions are set. That is, in the control area in which the control conditions are set, each part is controlled based on the control conditions.
[0038] For example, when a part of a workpiece is set as a control area, the part set as the control area is machined based on the control conditions. The area information receiving unit 212 receives, for example, input of coordinate values in a workpiece coordinate system as data defining the control area. The area information receiving unit 212 receives, for example, input of data defining the control area from the input / output device 3.
[0039] 3 is a diagram illustrating data for determining the control region. The region information receiving unit 212 receives, for example, input of coordinate values for determining a part of a region on a free curved surface forming the upper surface of a workpiece as a control region. The region information receiving unit 212 receives, for example, coordinate values (X A1 ,Y A1 ), (X A2 ,Y A2 ), (X A3 ,Y A3 ), and (X A4 ,Y A4 ) input is accepted.
[0040] The region setting unit 213 sets a control region in which control conditions are set within the movement region of the axes of the machine tool 1, based on the data defining the control region received by the region information receiving unit 212. When the region information receiving unit 212 receives input of coordinate values of four points on the XY plane, the region setting unit 213 specifies a space included in the region in which the axes move, whose X and Y coordinates are surrounded by the four points. In other words, the region setting unit 213 specifies a region cut out by a frame having the four points as vertices when this frame is moved along the Z axis. The region setting unit 213 sets the specified region as the control region.
[0041] The path specifying unit 214 analyzes the machining program, and specifies the movement paths included in the control region set by the region setting unit 213 from among the movement paths of the axes commanded by the machining program.
[0042] FIG. 4 is a diagram illustrating the movement paths of the axes identified by the path identification unit 214. 10 ~l 14 Each of the blocks in the machining program indicates a movement path of the axis. The path specifying unit 214 specifies a movement path at least a part of which is included in the control region. In the example shown in FIG. 4, the path specifying unit 214 specifies movement paths l1 to l3, l6 to l8, and l 11 ~l 13 Note that a block in a machining program means, for example, each line of the machining program to which a sequence number is assigned.
[0043] The block identification unit 215 identifies a command block that commands the movement path identified by the path identification unit 214 from the blocks of the machining program. The block identification unit 215 identifies the command block by, for example, extracting a block that commands coordinate values included in a control area in the machining program. In the example shown in FIG. 4, the block identification unit 215 extracts movement paths l1 to l3, l6 to l8, and l 11 ~l 13 Identify the block that commands
[0044] Movement routes l1-l3, l6-l8, and l 11 ~l 13 are specified in the blocks of sequence numbers N0011 to N0013, N0111 to N0113, and N0211 to N0213, respectively, block specifying unit 215 specifies the blocks of sequence numbers N0011 to N0013, N0111 to N0113, and N0211 to N0213.
[0045] When the movement path commanded by the command block spans both the outside and inside of the control area, the block division unit 216 divides the movement path commanded by the command block into an outer path that is not included in the control area and an inner path that is included in the control area.
[0046] 5 is a diagram for explaining an example of dividing a movement path. The block dividing unit 216 divides the movement paths l1, l3, l6, l8, and l1 that extend over the outside and inside of the control area into blocks l1, l2, l3, l4, l5, and l6. 11 and l 13 The block division unit 216 divides l1 into l 1a and 1b Similarly, the block division unit 216 divides l3 into l 3a and 3b , l6 to l 6a and 6b , l8 to l 8a and 8b ,l 11 l 11a and 11b ,l 13 l 13a and 13b Divide into:
[0047] The control condition receiving unit 217 receives input of the control conditions to be set in the control area. The control conditions are, for example, machining conditions. The machining conditions include, for example, the number of revolutions of the spindle and the feed rate. The control conditions may also include speed control parameters, servo parameters, control parameters determined for each function, and parameters indicating the on / off state of each function. The speed control parameters include the allowable speed of each axis, the allowable acceleration of each axis, the allowable jerk of each axis, the allowable tangential acceleration, and the allowable normal acceleration. The allowable tangential acceleration is the maximum allowable acceleration of the tool in the tangential direction of a curve when the tool travel path is curved. The allowable normal acceleration is the maximum allowable acceleration of the tool in the normal direction of a curve when the tool travel path is curved. The servo parameters include parameters related to the transfer characteristics in servo control, such as position loop gain and feedforward gain. The control parameters determined for each function include, for example, the tolerance in smoothing processing. The parameters indicating the on / off state of the function include, for example, a parameter indicating the on / off state of a swinging motion, which is a motion for vibrating at least one of the tool and the workpiece in order to cut chips during cutting of the workpiece.
[0048] Here, the smoothing process will be described. The smoothing process is a process for smoothing the movement path commanded by the machining program so that the movement path becomes smooth. For example, when the movement path is formed by a plurality of interconnected minute line segments, the movement path is smoothed by converting the movement path into a spline curve. At this time, the allowable difference between the curve generated by smoothing and the movement path formed by the original minute line segments is the tolerance.
[0049] Fig. 6 is a diagram for explaining the tolerance in the smoothing process. Fig. 6 shows a movement path formed by infinitesimal line segments connected to each other, and a curve generated by smoothing the movement path. When the tolerance is large, the generated curve becomes smoother. Conversely, when the tolerance is small, the generated curve becomes a curve with a shape that is close to the movement path made up of the original infinitesimal line segments.
[0050] Now, let us return to the explanation of FIG.
[0051] The control condition setting unit 218 sets the control conditions in the control region to the control conditions accepted by the control condition accepting unit 217. For example, when the control condition accepting unit 217 accepts a control condition for setting the tolerance to 1 [μm], the control condition setting unit 218 sets the tolerance in the control region to 1 [μm]. Also, when the control condition accepting unit 217 accepts a control condition for setting the feed rate to 1000 [mm / min], the control condition setting unit 218 sets the feed rate in the control region to 1000 [mm / min].
[0052] The command generating unit 219 generates a control command within the control region based on the control conditions set by the control condition setting unit 218 .
[0053] FIG. 7 is a diagram for explaining an example of a control command generated by the command generating unit 219. The command generating unit 219 generates a control command for a movement path included in a control region. The command generating unit 219 generates a control command for a movement path included in a control region based on a control condition. 1b , l2, l 3a , l 6b , l7, l 8a , l 11b , l 12 and l 13a Generates a control command in
[0054] When the tolerance is set to 1 [μm] as a control condition, the command generator 219 calculates the movement path l so that the tolerance is 1 [μm]. 1b , l2, l 3aControl command, movement path in 6b , l7, l 8a In Control Command , and the migration path l 11b , l 12 and l 13a Generates a control command in
[0055] The command generating unit 219 generates control commands for the areas other than the control area based on the commands written in each block of the machining program. For example, if the tolerance for the areas other than the control area is set to 2 [μm], the command generating unit 219 generates the movement paths l0, l1 so that the tolerance is 2 [μm]. 1a Control command, movement path in 3b , l4, control command, movement path l5, l 6a Control command in l 8b , l9, control command, l 10 , l 11a Control command and movement path in 13b , l 14 Generates a control command in
[0056] The control unit 220 controls the movement of the axis within the control region based on the command generated by the command generating unit 219. The control unit 220 also controls the movement of the axis in a region outside the control region based on the command generated by the command generating unit 219.
[0057] For example, when moving the axis along the movement path shown in FIG. 7, the control unit 220 first calculates the movement paths l0, l1 shown in the upper part. 1a , l 1b , l2, l 3a , l 3b , l4 in that order. At this time, control unit 220 moves the axes so that the tolerance in the control region is 1 [μm], and the tolerance in the region other than the control region is 2 [μm].
[0058] Next, the control unit 220 controls the moving paths l5 and l 6a , l 6b , l7, l8a , l 8b , and 19 in that order. At this time, the control unit 220 moves the axes so that the tolerance in the control region is 1 [μm], and the tolerance in the region other than the control region is 2 [μm].
[0059] Next, the control unit 220 calculates the moving path l 10 , l 11a , l 11b , l 12 , l 13a , l 13b , and l 14 At this time, the control unit 220 moves the axes so that the tolerance in the control region is 1 [μm] and the tolerance in the region other than the control region is 2 [μm].
[0060] Next, the flow of processing executed in the numerical control device 2 will be described.
[0061] 8 is a flowchart showing an example of the flow of processing executed in the numerical control device 2. In the numerical control device 2, first, the region information receiving unit 212 receives input of data defining a control region (step S1).
[0062] Next, the region setting unit 213 sets a control region in which a control condition is set, based on the data defining the control region (step S2).
[0063] Next, the path specifying unit 214 analyzes the machining program and specifies a movement path included in the control area set by the area setting unit 213 (step S3).
[0064] Next, the block specifying unit 215 specifies a command block for specifying the movement path specified by the path specifying unit 214 from among the blocks of the machining program (step S4).
[0065] Next, the block dividing unit 216 divides the movement path commanded by the command block into an outer path not included in the control area and an inner path included in the control area (step S5).
[0066] Next, the control condition receiving unit 217 receives an input of the control condition to be set in the control area (step S6).
[0067] Next, the control condition setting unit 218 sets the control conditions accepted by the control condition accepting unit 217 as the control conditions within the control region (step S7).
[0068] Next, the command generating unit 219 generates a control command within the control region based on the control conditions set by the control condition setting unit 218 (step S8).
[0069] Next, the control unit 220 controls the axis based on the control command generated by the command generating unit 219 (step S9), and the process ends.
[0070] As described above, the numerical control device 2 includes the region information receiving unit 212 that receives input of data defining a control region in which control conditions are set within a movement region of the axes of the machine tool 1, the region setting unit 213 that sets the control region based on the data received by the region information receiving unit 212, the control condition setting unit 218 that sets control conditions within the control region, and the command generating unit 219 that generates control commands within the control region based on the control conditions. Thus, the numerical control device 2 can set a control region in which control conditions are set and set the control conditions in the control region. This allows the operator to easily set control conditions in a specific region.
[0071] The numerical control device 2 further includes a path specification unit 214 that analyzes the machining program and specifies the movement path of the axis included in the control area, and a block specification unit 215 that specifies a command block that specifies the movement path specified by the path specification unit 214 from the block of the machining program, and a command generation unit 219 generates a control command for the movement path specified by the command block based on the control conditions. Therefore, the correspondence between the machining area of the workpiece and the blocks of the machining program can be easily grasped. As a result, the operator can easily set the control conditions in the specified area.
[0072] The numerical control device 2 further includes a block dividing unit 216 that divides a movement path that straddles the outside and inside of the control area into an outside path that is not included in the control area and an inside path that is included in the control area, and the command generating unit 219 generates a control command for the inside path based on the control conditions. Therefore, even if the movement path commanded by the machining program straddles the outside and inside of the control area, it is possible to switch the control conditions between inside the control area and areas other than the control area.
[0073] The control conditions include at least one of the following: machining conditions, speed control parameters, servo parameters, control parameters determined for each function, and parameters indicating the on / off state of the function. Therefore, these control conditions can be freely set within the control area.
[0074] The machining conditions include at least one of the spindle speed and the feed rate. The speed control parameters include at least one of the allowable axis speed, allowable axis acceleration, allowable axis jerk, allowable tangential acceleration, and allowable normal acceleration. The servo parameters include at least one of the position loop gain and the feedforward gain. The control parameters determined for each function include the tolerance of the smoothing process. The parameters indicating the on / off state of the function include the parameter indicating the on / off state of the oscillation operation. Therefore, various control conditions can be set within the control area.
[0075] In the above-described embodiment, the region information receiving unit 212 receives input of coordinate values as data defining the control region. However, the region information receiving unit 212 may receive input of actual tool position information as data defining the control region, for example.
[0076] For example, when a tool is moved to four points on an XY plane, the area information receiving unit 212 may receive these four points as data defining the control area. In this case, the area setting unit 213 sets the space surrounded by the four points and including the X and Y coordinates as the control area.
[0077] Furthermore, when the numerical control device 2 holds CAD (Computer Aided Design) data indicating the movement area of the axis and the shape of the workpiece, the area information receiving unit 212 may receive a position specified on the CAD data as data defining the control area. In this case, the operator can define the control area by specifying, for example, four points on the screen of the input / output device 3 on which the image of the movement area of the axis and the workpiece is displayed.
[0078] Although the numerical control device 2 in the above-described embodiment includes the block dividing unit 216, the numerical control device 2 does not necessarily have to include the block dividing unit 216.
[0079] Fig. 9 is a block diagram showing an example of the functions of the numerical control device 2. The numerical control device 2 shown in Fig. 2 and the numerical control device 2 shown in Fig. 9 are the same except that the numerical control device 2 shown in Fig. 9 does not include the block dividing unit 216.
[0080] The program storage unit 211 stores a machining program. The region information receiving unit 212 receives an input of data that defines a control region within the movement region of the axes of the machine tool 1.
[0081] Fig. 10 is a diagram for explaining an example of the control region, showing a state in which a cylindrical workpiece is gripped by the chuck of a lathe.
[0082] The region information receiving unit 212 receives, for example, input of data indicating the shape of the workpiece held by the chuck before machining as data for determining the control region. If the shape of the workpiece is, for example, cylindrical, the region information receiving unit 212 receives input of the coordinate values of point B indicating the total length and outer diameter of the workpiece.
[0083] The area setting unit 213 sets a control area in which control conditions are set within the movement area of the axes of the machine tool 1, based on the data defining the control area received by the area information receiving unit 212. In the example shown in Fig. 10, the entire area occupied by the workpiece is set as the control area.
[0084] The path specifying unit 214 analyzes the machining program, and specifies, among the movement paths of the axes commanded in the machining program, the movement paths included in the control region set by the region setting unit 213. The path specifying unit 214 may also specify movement paths not included in the control region. The path specifying unit 214 analyzes the machining program, and specifies, for example, movement paths N1, N2, N3, and N4.
[0085] The block specifying unit 215 specifies a command block that commands a movement path included in the control region specified by the path specifying unit 214 from the blocks of the machining program.
[0086] The control condition receiving unit 217 receives input of control conditions in the control region. The control condition receiving unit 217 receives, for example, axis movement conditions as the control conditions. The axis movement conditions are information for commanding cutting feed. In other words, the control condition receiving unit 217 receives input of control conditions for commanding that the tool be controlled by cutting feed within the control region.
[0087] The control condition receiving unit 217 may receive input of information indicating a control mode in the control area. The control mode means a setting state of a plurality of control conditions. In other words, if the control mode is different, the setting state of at least one of the plurality of control conditions is different.
[0088] The control condition receiving unit 217 receives input of information indicating, for example, a positioning mode or a cutting feed mode as the control mode. The positioning mode is a mode in which the axis is moved at a rapid feed rate. The cutting feed mode is a mode in which the axis is moved at a cutting feed rate.
[0089] The control condition setting unit 218 sets the control condition or control mode accepted by the control condition accepting unit 217 as the control condition or control mode within the control area.
[0090] The control condition setting unit 218 sets the control condition within the control area to, for example, cutting feed based on the control condition accepted by the control condition accepting unit 217. The control condition setting unit 218 also sets the control condition in areas other than the control area to fast forward.
[0091] Furthermore, the control condition setting unit 218 sets the control mode within the control region to, for example, a cutting feed mode based on the control mode accepted by the control condition accepting unit 217. Furthermore, the control condition setting unit 218 sets the control mode in regions other than the control region to a positioning mode. In other words, the control condition setting unit 218 sets the control mode within the control region to a control mode different from the control mode in regions other than the control region.
[0092] At least one of the control conditions, such as the speed control parameter, the servo parameter, the control parameter defined for each function, and the parameter indicating the ON / OFF state of the function, is different between the case where the numerical control device 2 moves the axis in cutting feed and the case where the numerical control device 2 moves the axis in rapid feed. In other words, the control condition setting unit 218 sets at least one of the speed control parameter, the servo parameter, the control parameter defined for each function, and the parameter indicating the ON / OFF state of the function to different setting values between the control area and the area other than the control area.
[0093] The command generating unit 219 generates a control command within the control region based on the control conditions set by the control condition setting unit 218. The command generating unit 219 also generates a control command within the control region based on the control mode set by the control condition setting unit 218. The command generating unit 219 generates, for example, a command to move the tool by cutting feed on a movement path at least a part of which is included in the control region. That is, the movement of the axis on the movement path at least a part of which is included in the control region is performed in the cutting feed mode. The command generating unit 219 also generates a command to move the tool by rapid traverse on a movement path outside the control region. That is, the movement of the axis on the movement path outside the movement region is performed in the positioning mode.
[0094] The control unit 220 controls the movement of the axes within the control region based on the cutting feed command generated by the command generation unit 219. The control unit 220 also controls the movement of the axes in regions other than the control region based on the positioning command generated by the command generation unit 219.
[0095] For example, in the example shown in FIG. 10, the movement path N1 is a movement path outside the control area. Therefore, in the movement path N1, the control unit 220 moves the axis at fast forward. Moreover, a portion of the movement path N2 is included in the control area. Therefore, the control unit 220 moves the axis at cutting feed in the movement path N2. Moreover, a portion of the movement path N3 is included in the control area. Therefore, the control unit 220 moves the axis at cutting feed in N3. Moreover, the movement path N4 is a movement path outside the control area. Therefore, the control unit 220 moves the axis at fast forward in the movement path N4. In other words, the control unit 220 switches the control mode between the control area and an area other than the control area.
[0096] As described above, the control condition setting unit 218 sets the control mode in the control area to the cutting feed mode, and sets the control mode in the area outside the control area to the positioning mode. In this case, the numerical control device 2 can move the tool by cutting feed in the control area, and move the tool by rapid traverse in the area outside the control area. Therefore, it is not necessary to issue the positioning command G00 and the cutting feed command G01 in the machining program. As a result, the amount of program code can be reduced.
[0097] In other words, the control condition setting unit 218 sets the control conditions to different values based on the set control mode between the control region and the region other than the control region, thereby making it possible to set the machining accuracy and machining time to the desired accuracy and time, respectively.
[0098] In the above-described embodiment, the control condition setting unit 218 sets the control condition to fast-forward in areas other than the control area. However, the control condition setting unit 218 does not necessarily have to set the control condition to fast-forward in areas other than the control area. For example, the control condition setting unit 218 may set a priority index for the control mode switching condition inside and outside the control area, respectively, and switch the control mode based on the priority index. In other words, the control condition setting unit 218 may switch the control mode based on the priority index. The priority index may also include the execution time.
[0099] For example, in the example shown in FIG. 10, after the movement of the axis is controlled by cutting feed in the movement path N3, the control condition is switched, and the movement of the axis is controlled by fast feed in the movement path N4. At this time, it takes a short time to switch the control condition. Therefore, for example, when the movement path N4 is short, the time until the machining is completed is shorter if the control condition is not switched and the control is performed in the movement paths N3 and N4. Therefore, if the execution time is set as a priority index of the switching condition of the control mode outside the control area, the control mode outside the control area is switched to the cutting feed mode so that the execution time of the machining program is shortened. In other words, when it is determined that the time until the movement of the axis in at least one movement path outside the control area is completed is shorter when the movement of the axis is controlled by cutting feed than when the movement of the axis is controlled by fast feed in that movement path, the control condition setting unit may set the control condition to cutting feed in that movement path.
[0100] In the above embodiment, when it is determined that the time required to complete machining is shorter when the axis is controlled by cutting feed in the movement path outside the control area than when the axis is controlled by rapid traverse, the control condition setting unit 218 sets the control condition for the movement path outside the control area to cutting feed. This can reduce the load imposed on the control condition switching process. Also, the machining time of the workpiece can be shortened. [Explanation of symbols]
[0101] 1 Machine tools 2. Numerical control device 201 CPU 202 Bus 203 ROM 204 RAM 205 Non-volatile memory 206 Interface 207 Axis control circuit 208 Spindle control circuit 209 PLC 210 I / O Unit 211 Program storage unit 212 Area Information Reception Department 213 Area setting section 214 Route Identification Unit 215 Block Specific Section 216 Block division section 217 Control condition reception unit 218 Control condition setting section 219 Command generation section 220 Control section 3 Input / Output Devices 4 Servo Amplifier 5. Servo motor 6 Spindle Amplifier 61 Ammeter 7 Spindle motor 8 Auxiliary equipment
Claims
1. a region information receiving unit that receives input of data defining a control region in which control conditions are set within a movement region of an axis of the machine tool; a region setting unit that sets the control region based on the data received by the region information receiving unit; a control condition receiving unit that receives an input of the control condition within the control area; a control condition setting unit that sets the control conditions inputted by the control condition receiving unit in the control area; a command generating unit that generates a control command within the control region based on the control condition; A numerical control device comprising:
2. a path specification unit that analyzes a machining program and specifies a movement path of the axis included in the control region; a block specifying unit that specifies a command block for specifying the movement path specified by the path specifying unit from a block of a machining program, The numerical control device according to claim 1 , wherein the command generating unit generates the control command for the movement path commanded by the command block based on the control condition.
3. a block dividing unit that divides the movement path that spans the outside and inside of the control area into an outside path that is not included in the control area and an inside path that is included in the control area, The numerical control device according to claim 2 , wherein the command generating unit generates the control command for the inside path based on the control condition.
4. The numerical control device according to any one of claims 1 to 3, wherein the control conditions include at least one of machining conditions, speed control parameters, servo parameters, control parameters defined for each function, and parameters indicating an on / off state of a function.
5. 5. The numerical control device according to claim 4, wherein the machining conditions include at least one of a spindle rotation speed and a feed rate, the speed control parameters include at least one of an allowable speed of the axis, an allowable acceleration of the axis, an allowable jerk of the axis, an allowable tangential acceleration, and an allowable normal acceleration, the servo parameters include at least one of a position loop gain and a feedforward gain, the control parameters determined for each function include at least a tolerance of a smoothing process, and turning on and off the functions includes at least turning on and off a swing operation.
6. 6. The numerical control device according to claim 1, wherein the control condition setting unit sets a control mode within the control region to a control mode different from a control mode in a region other than the control region.
7. The numerical control device according to claim 6 , wherein the control condition setting unit switches the control mode based on a priority index.
8. The numerical control device according to claim 7 , wherein the priority index includes at least an execution time.
9. a region information receiving unit that receives input of data defining a control region in which control conditions are set within a movement region of an axis of the machine tool; a region setting unit that sets the control region based on the data received by the region information receiving unit; a control condition setting unit that sets the control condition within the control region; a command generating unit that generates a control command within the control region based on the control condition; Equipped with The control condition setting unit sets a control mode within the control region to a control mode different from a control mode in a region other than the control region, and switches the control mode based on a priority index.
Citation Information
Patent Citations
Handling procedure of cam system for cutting work
JP1995195253A
Numerical controller
JP2002351519A
Numerical control device capable of changing processing condition in accordance with processing information
JP2017156835A
Manufacturing method for machine tool
US20120117787A1
Numerical control parameter adjustment device and numerical control parameter adjustment method
WO2017145912A1
