WO2004109412A1 - 工作機械の数値制御装置と工作機械の数値制御方法 - Google Patents
工作機械の数値制御装置と工作機械の数値制御方法 Download PDFInfo
- Publication number
- WO2004109412A1 WO2004109412A1 PCT/JP2004/007686 JP2004007686W WO2004109412A1 WO 2004109412 A1 WO2004109412 A1 WO 2004109412A1 JP 2004007686 W JP2004007686 W JP 2004007686W WO 2004109412 A1 WO2004109412 A1 WO 2004109412A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- command
- electronic cam
- control
- processing
- machine tool
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/408—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/34—Director, elements to supervisory
- G05B2219/34343—Generation of electronic cam data from nc program
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/34—Director, elements to supervisory
- G05B2219/34396—Control different groups of functions, commands simultaneously, synchronized
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/35—Nc in input of data, input till input file format
- G05B2219/35252—Function, machine codes G, M
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/36—Nc in input of data, input key till input tape
- G05B2219/36245—Use of tables to store order of execution of functions
Definitions
- Machine tool numerical control device and machine tool numerical control method are Machine tool numerical control device and machine tool numerical control method
- the present invention relates to a numerical control device for a machine tool and a numerical control method for a machine tool, and in particular, to reduce the time required for machining by eliminating the need to split electronic cam data before and after a 3-code M code.
- the present invention relates to a device that is shortened and that is designed to increase the conversion rate when converting an NC program into an electronic cam program, thereby improving work efficiency.
- NC program numerical control program
- the NC program itself created to obtain a machined part as described above can also be created and corrected on a numerically controlled machine tool. If there is a defect such as not being within the drawing tolerance, it can be corrected on the machine to eliminate the defect, and it can provide high work efficiency. It is.
- Patent Document 1 Japanese Patent Application Laid-Open No. 2001-170843
- a pulse signal output from a pulse encoder attached to a reference axis corresponds to instantaneous rotational position data and each unit rotational position of the reference axis. Then, command data of the moving axis is generated momentarily from the command position data of the moving axis set respectively.
- This movement command data and rotation position data Generates command speed data of a moving axis synchronized with the rotation speed of the rotating object, and controls the position of the tool based on the generated movement command data and the command speed data.
- this type of electronic cam program generally includes a personal computer provided with drawing information, a designated machining path, machining step, tool information, tooling information, and the like separately from the numerically controlled machine tool. It was created by inputting into CAM software etc. installed in the company, but it is considered that NC programs will be converted to electronic cam programs using some kind of conversion software.
- the present invention has been made based on such a point, and an object of the present invention is to eliminate the need to break the electronic cam data before and after the "M code" and "S code”.
- a machine tool numerical control device and a machine tool numerical control method that can reduce the time and increase the conversion rate when converting an NC program to an electronic cam program to improve work efficiency. To provide.
- a numerical control device for a machine tool holds a workpiece to be machined on a main spindle, and processes the workpiece and the workpiece.
- An electronic cam control means for controlling a control axis by an electronic cam, in a numerical control device of a machine tool for processing at least one of the tools to be processed to form the workpiece into a desired shape.
- the reference axis operation control means for controlling the operation of the reference axis when the cam control means is executed, and the S code or M code synchronized with the reference axis operated by the control by the reference axis operation control means
- a command processing execution data table that describes S-code or M-code equivalent commands to be executed in correspondence with the reference axis in order to execute equivalent functions
- a command table control means for performing command processing control based on the reference axis.
- the numerical control device for a machine tool according to claim 2 is the numerical control device for a machine tool according to claim 1, wherein the processing executed by the electronic cam control means and the command table control means are performed by the command table control means. It is characterized by having time-division processing means for executing the processing to be time-divisionally processed by a common CPU.
- a numerical control device for a machine tool according to claim 3 is the numerical control device for a machine tool according to claim 1, wherein the electronic cam control means and the command table control means precede the electronic cam control means and the command table control means.
- the reference axis operation control means includes a start-up means for starting, and the reference axis operation control means starts the operation of the reference axis after both the electronic cam control means and the command table control means are pre-started by the advance start means. To control It is a special feature.
- the step of executing the electronic cam activation process includes a step of performing an activation process of an axis control unit and a command processing unit. And a step of performing a startup process.
- the numerical control method for a machine tool according to claim 5 is the numerical control method for a machine tool according to claim 4, wherein the step of executing the electronic cam starting process is a starting process for an axis control unit. And a step of moving the reference axis after completion of the step of performing the step of performing the step of performing the start processing of the command processing unit.
- the numerical control device for a machine tool is not limited to controlling the control axis by the electronic cam control means, but includes a reference axis operation control means, a command processing execution data table, and a command table control means.
- the processing to be executed by the code command and the ⁇ code command can also be executed by the electronic cam control, so that the number of times of switching between the NC control and the electronic cam control is greatly reduced. Can be shortened.
- the processing executed by the electronic cam control means and the processing executed by the command table control means are configured to be time-division-processed by a common CPU.
- advance starting means for activating the electronic cam control means and the command table control means in advance and the reference axis operation control means is provided with both the electronic cam control means and the command table control means. It is conceivable that the operation of the reference axis is started after the preceding activation by the activation means.In this case, the command table control means and the electronic cam control means operate synchronously with the reference axis without delay. It will be possible to do that.
- Claims 4 and 5 are claimed as a method of numerically controlling a machine tool.
- the control axis is controlled by the electronic cam control means, but also the reference axis operation control means, the command processing execution data table, and the command table.
- the control means the processing to be executed by the S code command and the M code command can also be executed by the electronic cam control, so the number of switching between NC control and electronic cam control is greatly reduced, Thereby, the time required for processing can be reduced.
- the processing executed by the electronic cam control means and the processing executed by the command table control means are configured to be time-division-processed by a common CPU, respectively. This eliminates the need to consider the correlation with the data used for the table data, making it easier to create the table data and preventing the electronic cam control from becoming unstable due to the command processing. it can.
- advance starting means for activating the electronic cam control means and the command table control means in advance
- the reference axis operation control means is provided with both the electronic cam control means and the command table control means. After the preceding activation by the activation means When the operation of the reference axis is started, the command table control means and the electronic cam control means can be operated synchronously with respect to the reference axis without delay.
- FIG. 1 is a diagram illustrating an embodiment of the present invention, and is a block diagram illustrating a configuration of a numerically controlled machine tool.
- FIG. 2 is a view showing one embodiment of the present invention, and is a plan view showing a schematic mechanical configuration of a numerically controlled machine tool.
- FIG. 3 is a diagram showing an embodiment of the present invention.
- FIG. 3 (a) is a diagram showing types of tables
- FIG. 3 (b) is a diagram showing contents of an M table and an S table
- FIG. ) Shows the contents of the S code command and the M code command.
- FIG. 4 is a diagram showing an embodiment of the present invention, and is a flowchart showing the contents of an interpreter process.
- FIG. 5 is a view showing one embodiment of the present invention, and is a flowchart showing the contents of an electronic cam activation process.
- FIG. 6 is a view showing one embodiment of the present invention, and is a flowchart showing the content of the startup processing of the axis control unit.
- FIG. 7 is a view showing one embodiment of the present invention, and is a flowchart showing the content of the activation processing of the command processing unit.
- FIG. 8 is a diagram showing an embodiment of the present invention, and is a flowchart showing the contents of a command table process.
- FIG. 9 is a diagram showing an embodiment of the present invention
- FIG. 9 (a) is a diagram showing an example of an NC program before conversion
- FIG. 9 (b) is a diagram showing an example of a conventional program after conversion
- FIG. 9C is a diagram illustrating an example of a program after conversion according to the embodiment.
- FIG. 1 is a block diagram showing an overall configuration of a numerically controlled machine tool according to the present embodiment
- FIG. 2 is a plan view showing a schematic control axis configuration of the numerically controlled machine tool.
- the numerically controlled machine tool 1 includes a spindle rotating motor 3, a tool moving motor 5, a workpiece moving motor 7, a rear spindle moving motor 9, a rear spindle rotating motor 11, and various auxiliary machines 12. And a control unit for controlling the drive of the spindle rotation motor 3, the tool movement motor 5, the workpiece movement motor 7, the rear spindle movement motor 9, the rear spindle rotation motor 11, and the auxiliary machine 12.
- the spindle rotating motor 3 is for rotating a spindle (indicated by a symbol S1 in FIG. 2) configured to hold a workpiece, and includes a drive circuit 15, a spindle rotation control circuit 17, and the like. Is connected to the control unit section 13 via a.
- the spindle rotation motor 3 is provided with a pulse encoder 19 for detecting the rotation of the spindle rotation motor 3.
- the output of the pulse encoder 19 is connected to the control unit 13 and the speed signal generation circuit 21, and the rotation detection signal output from the noise encoder 19 is input to the control unit 13 and the speed signal generation circuit 21. Is done.
- the pulse encoder 19 generates a rotation detection signal in synchronization with the rotation of the spindle rotation motor 3 and outputs the rotation detection signal to the control unit 13 and the speed signal generation circuit 21.
- the speed signal generation circuit 21 converts the rotation detection signal output from the pulse encoder 19 into a spindle rotation speed signal indicating the rotation speed of the spindle rotation motor 3.
- the output of the speed signal generation circuit 21 is connected to the spindle rotation control circuit 17 and converted.
- the spindle speed signal thus input is input to the spindle rotation control circuit 17.
- the spindle rotation control circuit 17 controls the workpiece (the workpiece gripped by the spindle S1) so as to have a desired rotation speed based on the clock signal generated and output by the clock signal generation circuit 23. It is for controlling the rotation of the spindle motor, and compares the spindle rotation speed command signal output from the control unit 13 with the spindle rotation speed signal output from the speed signal generation circuit 21. , A control signal corresponding to the difference is generated based on the clock signal. The control signal generated by the spindle rotation control circuit 17 is output to the drive circuit 15.
- the drive circuit 15 controls the spindle rotation based on the control signal output from the spindle rotation control circuit 17 such that the rotation speed of the spindle rotation motor 3 (spindle S1) becomes a spindle rotation speed command value described later.
- the power supply to the motor 13 is controlled.
- the drive circuit 15, the spindle rotation control circuit 17, and the speed signal generation circuit 21 constitute a feedback control system for the rotation speed of the spindle rotation motor 3 (spindle S1).
- the tool moving motor 5 is provided with a tool (a turning tool or the like, denoted by reference numerals TS1 and TS3 in FIG. 2) for processing a workpiece, for example, a spindle rotating motor 3
- the drive circuit 25 and the tool feed control circuit are used to move in the direction (X-axis direction, Y-axis direction) orthogonal to the rotation center axis of the main shaft S1) or in the direction parallel to the main shaft (Z-axis direction). It is connected to the control unit 13 via 27.
- the tool TS1 is configured to be controlled to move in the XI axis direction and the Y1 axis direction, while the tool TS3 is controlled in the X3 axis direction. It is configured to be controlled to move in the Y3 axis direction and the Z3 axis direction.
- a back surface processing tool TS2 is provided.
- the tool moving motor 5 is provided with a pulse encoder 29 for detecting the rotation of the tool moving motor 5.
- the output of the pulse encoder 29 is connected to the tool feed control circuit 27, and the rotation detection signal of the pulse encoder 29 is input to the tool feed control circuit 27.
- the pulse encoder 29 generates a rotation position signal for each predetermined rotation angle of the tool moving motor 5 and outputs the signal to the tool feed control circuit 27.
- the tool feed control circuit 27 recognizes the actual movement positions of the tools TS1 and TS3 based on the rotation position signal output from the pulse encoder 29, and recognizes the recognized actual tool T
- the moving positions of S1 and TS3 are compared with a tool position command signal output from the control unit 13 described later, and a tool drive signal is generated based on the comparison result.
- the tool drive signal generated by the tool feed control circuit 27 is output to the drive circuit 25.
- the drive circuit 25 controls the power supplied to the tool moving motor 5 based on the tool drive signal output from the tool feed control circuit 27.
- the drive circuit 25 and the tool feed control circuit 27 constitute a feedback control system for moving positions of the tools TS1 and TS3.
- the workpiece moving motor 7 converts the workpiece to be processed by, for example, the spindle rotating motor 3.
- the motor 7 for moving the workpiece is provided with a pulse encoder 35 for detecting the rotation of the motor 7 for moving the workpiece.
- the output of the pulse encoder 35 is connected to a workpiece feed control circuit 33, and a rotation detection signal of the pulse encoder 35 is input to the workpiece feed control circuit 33.
- the pulse encoder 35 generates a rotation detection signal for each predetermined rotation angle of the workpiece moving motor 7 and outputs the rotation detection signal to the workpiece feed control circuit 33.
- the workpiece feed control circuit 33 recognizes the actual movement position of the workpiece based on the rotation detection signal output from the pulse encoder 35, and also recognizes the actual movement of the workpiece. The position is compared with a workpiece position command signal output from the control unit 13, and a workpiece drive signal is generated based on the comparison result. The workpiece drive signal generated for each predetermined rotation angle is output to the drive circuit 31.
- the drive circuit 31 controls the power supplied to the workpiece moving motor 7 based on the workpiece drive signal output for each predetermined rotation angle.
- the drive circuit 31 and the workpiece feed control circuit 33 constitute a feedback control system for the movement position of the workpiece.
- the rear headstock moving motor 9 sets the rear main spindle S2 in, for example, a direction (Z2 axis direction) parallel to the rotation center axis of the main spindle rotation motor 3 (main spindle S1). Alternatively, it is moved in a direction orthogonal to this (X2 axis direction), and is connected to the control unit 13 via a drive circuit 37 and a rear headstock feed control circuit 39.
- the rear headstock moving motor 9 is provided with a pulse encoder 41 for detecting the rotation of the rear headstock moving motor 9. Have been killed.
- the output of the pulse encoder 41 is connected to the rear headstock feed control circuit 39, and the rotation detection signal of the pulse encoder 41 is input to the rear headstock feed control circuit 39.
- the pulse encoder 41 generates a rotation position signal for each predetermined rotation angle of the rear headstock moving motor 9 and outputs the signal to the rear headstock feed control circuit 39.
- the back headstock feed control circuit 39 recognizes the actual movement position of the back spindle S2 based on the rotation position signal output from the pulse encoder 41, and also recognizes the actual movement position of the recognized back spindle S2. And a rear headstock position command signal output from the control unit 13 described later, and a rear headstock drive signal is generated based on the comparison result.
- the rear headstock drive signal generated by the rear headstock feed control circuit 39 is output to the drive circuit 37.
- the drive circuit 37 controls power supplied to the rear headstock moving motor 9 based on the drive signal output from the rear headstock feed control circuit 39.
- the drive circuit 37 and the rear headstock feed control circuit 39 constitute a feedback control system for the movement position of the rear headstock.
- the back spindle rotation motor 11 is for rotating the back spindle S2 configured to be able to hold the workpiece in the C2 direction, and includes a drive circuit 43 and a back spindle rotation control circuit 45. It is connected to the control unit section 13 through the like. Further, the back spindle rotating motor 11 is provided with a pulse encoder 47 for detecting the rotation of the back spindle rotating motor 11. The output of the pulse encoder 47 is connected to the control unit 13 and the speed signal generation circuit 49, and the rotation detection signal output from the pulse encoder 47 is input to the control unit 13 and the speed signal generation circuit 49.
- the noise encoder 47 generates a rotation detection signal in synchronization with the rotation of the rear spindle rotation motor 11 (rear spindle S2), and outputs the rotation detection signal to the control unit 13 and the speed signal generation circuit 49.
- the speed signal generation circuit 49 converts the rotation detection signal output from the pulse encoder 47 into a back spindle rotation speed signal representing the rotation speed of the back spindle rotation motor 11 (the back spindle S2).
- the output of the speed signal generation circuit 49 is connected to the rear spindle rotation control circuit 45, and the converted rear spindle rotation speed signal is input to the rear spindle rotation control circuit 45.
- the back spindle rotation control circuit 45 is configured to be driven (the back spindle S2) so that a desired rotation speed is obtained with reference to the clock signal generated and output by the clock signal generation circuit 23.
- a desired rotation speed is obtained with reference to the clock signal generated and output by the clock signal generation circuit 23.
- a corresponding control signal is generated based on the clock signal.
- the control signal generated by the back spindle rotation control circuit 45 is output to the drive circuit 43.
- the drive circuit 43 Based on the control signal output from the back-spindle rotation control circuit 45, the drive circuit 43 adjusts the rotation speed of the back-spindle rotation motor 11 (the back-spindle S2) to a back-spindle rotation speed command value to be described later.
- the power supplied to the back-spindle rotation motor 11 is controlled so that
- the drive circuit 43, the back spindle rotation control circuit 45, and the speed signal generation circuit 45 constitute a feedback control system for the rotation speed of the back spindle rotation motor 11 (the back spindle S2).
- the accessory 12 is connected to the control unit 13 via a PLC (sequencer) 50, and is controlled via the PLC 50. Further, an operation panel 52 is provided.
- a coolant device or the like for supplying a cooling oil to a processing portion is exemplified.
- the control unit section 13 includes a central processing unit (CPU) 51, panelless signal generation circuits 53 and 55, a clock signal generation circuit 23 already described, and a divided timing signal generation circuit 57. , An interpreter processing unit 59, an NC code storage unit 61, a conversion processing unit (transformer) 63, an electronic cam processing unit 65, and an electronic cam data storage unit 67.
- the electronic cam processing unit 65 includes an axis control unit 69 and a command processing unit 71.
- the electronic cam data storage section 67 is provided with an axis control table 73 and a command table 75.
- the CPU 51 is an arithmetic unit that performs signal processing and the like of the entire control unit 13.
- the CPU 51 performs well-known multi-processing processing, that is, multiplex processing. Multiple processing stores multiple jobs (programs) and executes them while switching these programs in a short time, so that apparently multiple programs are being processed simultaneously. There are known those that perform processing and those that assign priorities to the respective tasks and perform task processing while switching the processing in descending order of priority.
- the pulse signal generation circuits 53 and 55 are connected to pulse encoders 19 and 47, respectively.
- the rotation detection signal output from each of the pulse encoders 19 and 47 is input via an interface (I / F) or the like (not shown). Based on the input rotation detection signal, a noise signal is generated at every predetermined rotation angle.
- the pulse signal generation circuits 53 and 55 are also connected to the CPU 51, and are configured to output a pulse signal generated at each predetermined rotation angle to the CPU 51.
- the panelless signal generation circuits 53 and 55 are connected to the main shaft rotation motor 3 (main shaft S1) or the rear main shaft rotation motor 11 (rear main shaft S2) while the main shaft rotation motor 3 ( The main spindle S1) and the rear side are configured to output pulse signals at regular intervals in synchronization with the main spindle rotation motor 11 (the rear main spindle S2).
- the clock signal generation circuit 23 is configured to receive a predetermined command signal output from the CPU 51 and generate and output a clock signal having a predetermined period, for example, a period of 0.25 ms.
- the clock signal generated by the clock signal generation circuit 23 is output to the divided timing signal generation circuit 57.
- the division timing signal generation circuit 57 is configured to count the number of times the clock signal output from the clock signal generation circuit 23 is generated, and as a result of the counting, for example, each time 1 millisecond elapses, the division timing signal generation circuit 57 Is generated and output to the CPU 51. Therefore, the division timing signal generation circuit 57 outputs the division timing signal having a period of 1 millisecond to the CPU 51 as an interruption timing signal.
- periods of the clock signal and the division timing signal are not limited to the above numerical values.
- the interpreter processing section 59 performs processing for interpreting and executing the NC code, and the NC code storage section 61 stores the NC code.
- the axis control section 69 controls a control axis in accordance with information in the axis control table 73.
- the axis control table 73 stores data to be executed by the axis controller 69.
- the command processing section 71 is for instructing a code in accordance with the command stored in the command table 75.
- the command table 75 stores data to be executed by the command processing unit 71.
- the conversion processing section 63 performs processing for converting NC codes into electronic cam data. Therefore, the NC code for starting the electronic cam is created in the NC code storage unit 61.
- the axis control table 73 and the command table 75 are stored in the electronic cam data storage section 67.
- the table is provided with numbers indicating “Gnorepe number” and “Table type”, respectively, and is classified.
- the group number means a group to be executed simultaneously. Specifically, there is a group of "01” and a group of "02", and a table to which a group number "01” is assigned. Are executed at the same time. Similarly, the table to which the group number “02” is assigned is also executed at the same time.
- the table type means the purpose of use of the table. "01” is “X”, “02” is “Y”, "03” is " ⁇ ", "04". If so, it means “ ⁇ ", and if "05”, it means “S”.
- the table is identified based on the specified group number and table type, and the processing is performed according to a predetermined procedure.
- the axis control table 73 stores a combination of the position of the reference axis and the position that should be at that time.
- the command table 75 stores commands in a form as shown in FIG. 3B, for example.
- the left column of the table contains numerical values indicating the positions of the reference axes
- the right column of the table contains the commands to be issued at that time.
- the S table where the left column of the table contains numerical values indicating the positions of the reference axes
- the right column of the table describes the command to be commanded at that time. Has been entered.
- Commands corresponding to S code and M code set in the M table and S table shown in Fig. 3 (b) are set in the table based on the following concept for the reference axis.
- the time required to execute the movement command, tool selection command, M command, S command, etc. described in each block of the NC program as a pre-reference is calculated for each block.
- the transformer 63 is provided with a module for calculating the time required when the command described in the block is executed, and the execution time is calculated accordingly. After the execution time is calculated, the time required for processing the command described in each block is stored in a storage location designated by the transformer 63 in association with each block.
- the command execution start timing can be obtained as the reference axis value.
- the command corresponding to the M and S codes described in the block of the NC program is set in the command table 75 in accordance with the reference axis value as the command execution start timing obtained in this manner. Become. Each command that does not break the order specified in the original NC program can be executed in an appropriate order.
- Fig. 3 (c) an example of the actual command is shown in Fig. 3 (c).
- the first five numbers “02000” indicate the rotation speed.
- the next number “1” indicates the spindle number. That is, “1” is the main shaft S1 shown in FIG. 2, and “2” is the back main shaft S2 shown in FIG.
- the last two numbers “03” indicate the direction of rotation. That is, “03” is normal rotation, “04” is reverse rotation, and “05” is stop.
- the first “00” means the third M code
- the next “19” means the second M code
- the last “23” means the first M code
- the processing by the interpreter processing section 59 is started by operating a cycle start button (not shown) or the like.
- step S1 the block counter is initialized, that is, set to "0".
- step S2 the process proceeds to step S2 to read the block indicated by the block counter.
- step S3 determine whether the read block is an electronic cam start command. If it is determined that the command is the electronic cam start command, the process proceeds to step S4, where the group number of the table to be executed is specified, and the electronic cam start process is executed.
- step S5 the group number of the table to be executed is specified, and the electronic cam start process is executed.
- step S5 to update the block counter.
- step S6 determine whether there is a block to be executed. If it is determined that there is a block to be executed, the process returns to step S2, and the same processing is repeated. If it is determined that there is no block to be executed, the routine returns.
- step S3 If it is determined in step S3 that the command is not an electronic cam start command, the process proceeds to step S7. In this step S7, it is determined whether or not the command is a program end command. If it is determined that the command is a program end command, the process returns. If it is determined that the command is not a program end command, the flow shifts to step S8 to execute normal command processing. Next, steps S5 and S6 already described are sequentially executed.
- step S4 the electronic cam activation process in step S4 will be described in detail with reference to FIG.
- step S11 it is checked whether or not there is another system to be executed at the same time, and if there is a system to be executed at the same time, queuing between the systems is performed.
- step S12 the axis control unit is activated by calling the specified table's gnorape number as an argument.
- step S13 the process shifts to step S13 to execute a startup process of the command processing unit.
- step S14 the process shifts to step S14 to start moving the reference axis.
- the tasks of the axis controller 69 and the command processor 71 here are executed by the CPU 51 as separate tasks. Each process is executed separately Thus, stable processing can be performed. By the processing up to this point, the electronic cam operation for all tables is started simultaneously. Next, the process proceeds to step S15 to determine whether or not the end condition has been reached.
- step S16 the electronic cam processing unit 65 (the axis control unit 69 and the command processing unit 71) is stopped.
- the process shifts to step S17 to stop the reference axis and initialize the position to “0”.
- step S21 an X-axis table number to be executed is calculated from the group number passed as an argument.
- step S22 the process proceeds to step S22 to determine whether there is a calculated table. If it is determined that the calculated table exists, the process proceeds to step S23.
- step S23 the electronic cam operation of the X axis based on the designated table is started.
- step S24 the Y-axis table number to be executed is calculated from the gnorape number passed to the argument. If it is determined in step S22 that there is no calculated table, the process proceeds to step S24 bypassing step S23.
- step S25 it is determined whether or not the calculated table exists. If it is determined that the calculated table exists, the process proceeds to step S26. In step S26, the electronic cam operation of the Y axis based on the designated table is started. Next, the process proceeds to step S27, and the Z-axis table number to be executed is calculated from the gnorape number passed as the argument. If it is determined in step S25 that there is no calculated table, the process bypasses step S26 and proceeds to step S27.
- step S28 the flow shifts to step S28, where it is determined whether or not the calculated table exists. If it is determined that there is a calculated table, the process proceeds to step S29. In this step S29, the electronic cam operation of the Z axis according to the designated table is started. Then return. If it is determined in step S28 that there is no calculated table, the process returns from step S29.
- step S31 execution is performed from the group number passed as an argument. Calculate the M code table number to be used.
- step S32 it is determined whether or not the calculated table exists. If it is determined that the calculated table exists, the process proceeds to step S33.
- step S33 the command table processing for the M code is started.
- step S34 the S code table number to be executed is calculated from the group number passed to the argument. If it is determined in step S32 that there is no calculated table, the process bypasses step S33 and proceeds to step S34.
- step S35 it is determined whether or not the calculated table exists. If it is determined that the calculated table exists, the process proceeds to step S36. In this step S36, processing of the command table for S code is started. Then, the process returns. If it is determined in step S35 that there is no calculated table, the process returns from step S36.
- step S41 the command table processing, that is, the command table processing of steps S33 and S36 shown in FIG. 7, will be described with reference to FIG.
- step S42 the first block of the command table is read.
- step S42 the process shifts to step S42 to determine whether or not the value of the reference axis has already passed. If it is determined that the value of the reference axis has already passed, the flow shifts to step S43. In this step S43, it is determined whether or not the reference axis has reached the value in the table.
- step S44 it is determined whether or not the reference axis has reached the value in the table.
- step S44 execute the command. In this case, an M code is output for an M code table, and an S code is output for an S code table.
- step S45 the next block.
- step S42 If it is determined in step S42 that the value of the reference axis has not passed, the process proceeds to step S45, bypassing steps S43 and S44. In this way, by comparing the value of the reference axis with the reference axis value at which the command described in the command table is executed, the command table after the block skip processing is executed is restarted. Then, the execution of the command corresponding to the current reference axis value can be executed by skipping the execution of the command whose reference axis value has already passed.
- step S46 the presence or absence of a block is determined. Ends. If there is a block, the process returns to step S42, and the same processing is repeated.
- Fig. 9 (a) For example, let's take the NC code shown in Fig. 9 (a) as an example. It contains M code in several places. That is, “M3” in the second row from the top, “M22” in the fifth row from the top, and “M23” in the eighth row from the top.
- FIG. 9 (b) the result is as shown in FIG. 9 (b).
- the electronic cam control cannot be performed on the M code ⁇ M3 '', ⁇ M22 '', and ⁇ M23 '', it is necessary to switch to the control by NC code, and then the electronic cam is called. (1), (2), (3) ⁇ .
- FIG. 9 (c) this is as shown in FIG. 9 (c), and the electronic cam control is also performed for the M codes “M3”, “M22”, and “M23”. It becomes possible.
- the processing by the axis control unit 69 and the processing by the command processing unit 71 are configured to be time-division processed by the common CPU 51, when the data of the axis control table 73 and the command table 75 are created, other processing is performed. Since there is no need to consider the correlation with the data used for the table data, it is easy to create the table data. In addition, each By executing the processing individually, it is possible to prevent the electronic cam control from becoming unstable due to the influence of the command processing.
- steps S12, S13, and S14 in FIG. 5 since the operation of the reference axis is started after the processing by the axis control and unloading unit 69 and the processing by the command processing unit 71, The processing can be synchronized with the reference axis without delay.
- the processing time is shortened by eliminating the division of the electronic cam data before and after the “ ⁇ code” and “S code”, and the NC program is converted into the electronic cam program. It is an object of the present invention to provide a numerical control device for a machine tool and a numerical control method for a machine tool, which make it possible to increase the conversion rate in the case and improve the working efficiency.
- the reference axis operation control means which not only controls the control axes by the electronic cam control means, the command processing execution data table, and the command table control means, but also the processing to be executed by the S code command and the M code command. Since the control can be performed by the electronic cam control, the number of times of switching between the NC control and the electronic cam control is greatly reduced, and thereby the time required for machining can be significantly reduced.
Abstract
Description
Claims
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US10/559,345 US20060136089A1 (en) | 2003-06-04 | 2004-06-03 | Numerical control device for machine tool and numerical control method for machine tool |
EP04745542A EP1630632A4 (en) | 2003-06-04 | 2004-06-03 | NUMERICAL CONTROL DEVICE FOR A TOOL MACHINE AND NUMERICAL CONTROL METHOD FOR A TOOL MACHINE |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003-159306 | 2003-06-04 | ||
JP2003159306A JP2004362228A (ja) | 2003-06-04 | 2003-06-04 | 工作機械の数値制御装置と工作機械の数値制御方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2004109412A1 true WO2004109412A1 (ja) | 2004-12-16 |
Family
ID=33508504
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2004/007686 WO2004109412A1 (ja) | 2003-06-04 | 2004-06-03 | 工作機械の数値制御装置と工作機械の数値制御方法 |
Country Status (3)
Country | Link |
---|---|
EP (1) | EP1630632A4 (ja) |
JP (1) | JP2004362228A (ja) |
WO (1) | WO2004109412A1 (ja) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4973792B1 (ja) * | 2011-03-15 | 2012-07-11 | オムロン株式会社 | 演算ユニット、出力制御方法、およびプログラム |
EP2919083A1 (en) * | 2014-03-11 | 2015-09-16 | Renishaw plc | Machine tool control process |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01197806A (ja) * | 1988-02-02 | 1989-08-09 | Mitsubishi Electric Corp | 数値制御装置 |
JPH07302103A (ja) * | 1994-04-30 | 1995-11-14 | Mitsubishi Electric Corp | モーションコントローラ |
JP2003303005A (ja) * | 2002-04-09 | 2003-10-24 | Fanuc Ltd | 数値制御装置 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001219342A (ja) * | 2000-02-07 | 2001-08-14 | Star Micronics Co Ltd | 工作機械の駆動制御装置 |
JP3670227B2 (ja) * | 2001-08-09 | 2005-07-13 | スター精密株式会社 | 工作機械及びその制御方法 |
JP4450302B2 (ja) * | 2002-03-27 | 2010-04-14 | スター精密株式会社 | 工作機械の数値制御装置 |
-
2003
- 2003-06-04 JP JP2003159306A patent/JP2004362228A/ja active Pending
-
2004
- 2004-06-03 EP EP04745542A patent/EP1630632A4/en not_active Withdrawn
- 2004-06-03 WO PCT/JP2004/007686 patent/WO2004109412A1/ja not_active Application Discontinuation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01197806A (ja) * | 1988-02-02 | 1989-08-09 | Mitsubishi Electric Corp | 数値制御装置 |
JPH07302103A (ja) * | 1994-04-30 | 1995-11-14 | Mitsubishi Electric Corp | モーションコントローラ |
JP2003303005A (ja) * | 2002-04-09 | 2003-10-24 | Fanuc Ltd | 数値制御装置 |
Non-Patent Citations (1)
Title |
---|
See also references of EP1630632A4 * |
Also Published As
Publication number | Publication date |
---|---|
JP2004362228A (ja) | 2004-12-24 |
EP1630632A4 (en) | 2006-06-14 |
EP1630632A1 (en) | 2006-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7689300B2 (en) | Numerical control unit | |
JPS6225202B2 (ja) | ||
JPS5968003A (ja) | 数値制御工作機械の非常機械原点復帰装置 | |
JP2003303005A (ja) | 数値制御装置 | |
EP0103198A2 (en) | A method for interrupting machine operation in a CNC system | |
WO2007074748A1 (ja) | 工作機械及びそのプログラム変換方法 | |
JP2004326618A (ja) | 工作機械の数値制御装置 | |
JP4112436B2 (ja) | 工作機械の数値制御装置と工作機械の数値制御方法 | |
US4862379A (en) | Numerical control machine | |
WO2004109412A1 (ja) | 工作機械の数値制御装置と工作機械の数値制御方法 | |
US20060136089A1 (en) | Numerical control device for machine tool and numerical control method for machine tool | |
JP3199319B2 (ja) | 多軸多系統数値制御方法 | |
JP3670227B2 (ja) | 工作機械及びその制御方法 | |
JP2004348448A (ja) | 工作機械の数値制御装置と工作機械の数値制御方法 | |
JP2007233624A (ja) | 工作機械の数値制御装置 | |
US7009357B2 (en) | Servo control system and its control method | |
JP2000305612A (ja) | 複数の主軸を制御可能な数値制御装置 | |
JPS63311408A (ja) | 数値制御装置 | |
JP2021098259A (ja) | 工具マガジンの制御方法 | |
JP2008126371A (ja) | 工作機械 | |
JP2007233575A (ja) | 数値制御装置および工作機械の制御方法 | |
JPS5918184B2 (ja) | 工作機械における工具異常時の工具退避・復帰装置 | |
WO2023053349A1 (ja) | 数値制御装置 | |
EP4245444A1 (en) | Method for controlling superimposed machining of nc machine tool | |
GB2236410A (en) | Numerically controlled machining |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A1 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW |
|
AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
ENP | Entry into the national phase |
Ref document number: 2006136089 Country of ref document: US Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2004745542 Country of ref document: EP Ref document number: 10559345 Country of ref document: US |
|
WWP | Wipo information: published in national office |
Ref document number: 2004745542 Country of ref document: EP |
|
WWP | Wipo information: published in national office |
Ref document number: 10559345 Country of ref document: US |
|
WWW | Wipo information: withdrawn in national office |
Ref document number: 2004745542 Country of ref document: EP |