WO2004109412A1 - 工作機械の数値制御装置と工作機械の数値制御方法 - Google Patents

工作機械の数値制御装置と工作機械の数値制御方法 Download PDF

Info

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
Application number
PCT/JP2004/007686
Other languages
English (en)
French (fr)
Inventor
Yukihiro Inoue
Tetsuya Sugiyama
Akihide Takeshita
Noriyuki Yazaki
Original Assignee
Star Micronics Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Star Micronics Co., Ltd. filed Critical Star Micronics Co., Ltd.
Priority to US10/559,345 priority Critical patent/US20060136089A1/en
Priority to EP04745542A priority patent/EP1630632A4/en
Publication of WO2004109412A1 publication Critical patent/WO2004109412A1/ja

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/408Numerical 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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34343Generation of electronic cam data from nc program
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34396Control different groups of functions, commands simultaneously, synchronized
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35252Function, machine codes G, M
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36245Use 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

【課題】 SコードやMコードの前後で電子カムデータを分断させる必要をなくすことにより、NCプログラムを電子カムプログラムに変換する場合の変換率を高め、作業効率を向上させることを可能にする工作機械の数値制御装置と工作機械の数値制御方法を提供すること。 【解決手段】 電子カム制御手段と、電子カム制御手段を実行する際に基準となる軸の動作を制御する基準軸動作制御手段と、基準軸動作制御手段による制御によって動作させられる基準軸に対して同期してSコード又はMコード相当の機能を実行させる為に、基準軸と対応して実行させるべきSコード又はMコード相当のコマンドが記述されるようにしたコマンド処理実行用データテーブルと、コマンド処理実行用データテーブルと前記基準軸に基づいてコマンド処理制御を行うコマンドテーブル制御手段とを具備したもの。

Description

明 細 書
工作機械の数値制御装置と工作機械の数値制御方法
技術分野
[0001] 本発明は工作機械の数値制御装置と工作機械の数値制御方法に係り、特に、 3コ ードゃ Mコードの前後で電子カムデータを分断させる必要をなくすことにより加工に 要する時間を短縮させ、且つ、 NCプログラムを電子カムプログラムに変換する場合 の変換率を高め、それによつて、作業効率を向上させることができるように工夫したも のに関する。
背景技術
[0002] 例えば、工作機械に素材をセットしてバイト等の工具を利用して所望の形状に加工 するに際して、数値制御プログラム (NCプログラム)を作成し、該 NCプログラムによつ てバイト等の工具を含む各部を自動的に動作させ、それによつて、所望形状の加工 部品を得る数値制御工作機械が一般的に知られている。
[0003] 上記のような加工部品を得るために作成された NCプログラムそのものは、通常、数 値制御工作機械上でも作成 ·修正可能であり、例えば、加ェ部品を試し削りした結果 、加工部品が図面公差内に入っていない等の不具合がある場合には、機上にてそ の不具合をなくすための修正を行うことができるものであり、高い作業効率を提供す ること力 sできるものである。
[0004] 一方、 NCプログラムではなく電子カムプログラムを利用して、工作機械にセッティン グされた素材から、所望の形状をバイト等の工具を利用して加工することが行われて いる。ここでいう電子カムプログラムを利用した制御とは、例えば、特許文献 1に開示 されているようなものである。
[0005] 特許文献 1 :特開 2001— 170843号公報
[0006] すなわち、上記特許文献 1に開示されているように、基準軸に取り付けられたパルス エンコーダが出力するパルス信号により、時々刻々の回転位置データと、基準軸の 単位回転位置ごとに対応してそれぞれ設定された移動軸の指令位置データとから時 々刻々の移動軸の指令データを生成する。この移動指令データと回転位置データと から回転物の回転速度に同期する移動軸の指令速度データを生成して、生成した 移動指令データと指令速度データに基づいて工具の位置を制御するものである。そ して、この種の電子カムプログラムを利用した数値制御工作機械では、主軸の累積 回転角に対する工具又は被力卩ェ物夫々の位置データを定めるものであり、よって、 N Cプログラムを利用するものに比べてより短時間、且つ、高精度にて加工を行うことが できるという利点がある。
[0007] 又、この種の電子カムプログラムは、通常、図面情報、指定された加工パス、加工ェ 程、工具情報、ツーリング情報等を数値制御工作機械とは別個に設けられたパーソ ナルコンピュータ等にインストールされた CAMソフト等に入力して作成していたが、 ある種の変換ソフトを利用して、 NCプログラムを電子カムプログラムに変換することが 考えられている。
発明の開示
発明が解決しょうとする課題
[0008] 上記従来の構成によると次のような問題があった。
すなわち、軸制御に関してはこれを電子カムによって制御して実行させることは可 能であるが、レ、わゆる「Mコード」や「Sコード」等に相当する補機への指令に関しては 、これを電子カム制御で行うことはできなかった。そこで、従来はこれを NC制御で行 つていた。その為、電子カム制御によって 1つの加工行程を行っている際に、「M3— ド」、「Sコード」出力を行う場合、一旦電子カム制御から NC制御に切り換えて行う必 要があり、その後電子カム制御に戻る必要があった。
この方法では、加工に直接影響のない指令であっても制御切換時に制御軸の移動 をー且停止させる必要があり無駄な時間が生じてしまうことになる。又、制御の切換に 要する時間は無視できるほど短いとしても、切換回数が増えることにより累積された時 間は無視できないものになってしまい、加工時間を短縮させる上で好ましいことでは なかった。
又、「Mコード」や「Sコード」等に相当する補機指令に関してこれを電子カム制御で 行うことができないということは、結局、電子カムプログラムに変換できない NCプログ ラムが多く存在してしまうことにもなり、結果として、十分な加工効率の向上効果を得 ることができないとレ、う問題があった。
[0009] 本発明はこのような点に基づいてなされたものでその目的とするところは、「Mコード 」や「Sコード」の前後で電子カムデータを分断させるようなことをなくすことにより加工 時間の短縮を図り、且つ、 NCプログラムを電子カムプログラムに変換する場合の変 換率を高めて、作業効率を向上させることを可能にする工作機械の数値制御装置と 工作機械の数値制御方法を提供することにある。
課題を解決するための手段
[0010] 上記目的を達成するべく本願発明の請求の範囲第 1項による工作機械の数値制御 装置は、被力卩ェ物を主軸に保持させるようにすると共に、上記被加工物及びそれを 加工する工具の内少なくとも何れか一方を移動させて、上記被加工物を所望の形状 に加工するための工作機械の数値制御装置において、制御軸を電子カムによって 制御する電子カム制御手段と、上記電子カム制御手段を実行する際に基準となる軸 の動作を制御する基準軸動作制御手段と、上記基準軸動作制御手段による制御に よって動作させられる基準軸に対して同期して Sコード又は Mコード相当の機能を実 行させる為に、基準軸と対応して実行させるべき Sコード又は Mコード相当のコマンド が記述されるようにしたコマンド処理実行用データテーブルと、上記コマンド処理実 行用データテーブルと前記基準軸に基づいてコマンド処理制御を行うコマンドテー ブル制御手段と、を具備したことを特徴とするものである。
又、請求の範囲第 2項による工作機械の数値制御装置は、請求の範囲第 1項記載 の工作機械の数値制御装置において、上記電子カム制御手段によって実行される 処理と上記コマンドテーブル制御手段によって実行される処理が夫々共通の CPU において時分割処理されるようにする時分割処理手段を備えたことを特徴とするもの である。
又、請求の範囲第 3項による工作機械の数値制御装置は、請求の範囲第 1項記載 の工作機械の数値制御装置において、上記電子カム制御手段と上記コマンドテープ ル制御手段とを先行して起動させる先行起動手段を備え、上記基準軸動作制御手 段は上記電子カム制御手段と上記コマンドテーブル制御手段の両者が上記先行起 動手段により先行起動された後に基準軸の動作を開始させるように制御するもので あることを特 ί数とするものである。
又、請求の範囲第 4項による工作機械の数値制御方法は、処理を開始して読み込 んだブロックが電子カム起動コマンドであるか否かを判別するステップと、上記ステツ プにより電子カム起動コマンドであると判別された場合に電子カム起動処理を実行す るステップと、を具備し、上記電子カム起動処理を実行するステップは、軸制御部の 起動処理を行うステップと、コマンド処理部の起動処理を行うステップと、を備えてい ることを特 ί敷とするものである。
又、請求の範囲第 5項による工作機械の数値制御方法は、請求の範囲第 4項記載 の工作機械の数値制御方法において、上記電子カム起動処理を実行するステップ は、軸制御部の起動処理を行うステップと、コマンド処理部の起動処理を行うステップ とを終了した後に、基準軸の移動を行うステップを実行するものであることを特徴とす るものである。
つまり、本願発明による工作機械の数値制御装置は、電子カム制御手段によって 制御軸を制御するだけではなぐ基準軸動作制御手段と、コマンド処理実行用デー タテーブルと、コマンドテーブル制御手段とによって、 Sコードコマンドや Μコードコマ ンドが実行すべき処理についても、電子カム制御によって実行できるようにしたので、 NC制御と電子カム制御間の切換回数が大幅に減少することになり、それによつて、 加工に要する時間を短縮させることが可能になる。
又、 NCプログラムから電子カムプログラムへの変換率も高くなり、それによつて、加 ェ効率の向上を図ることが可能になる。
又、電子カム制御とコマンド処理制御が共通の基準軸に基づレ、て実行されるので、 両制御が同期して実行されることになり、両制御に基づく夫々の動作同士の干渉や コマンド処理のタイミングのずれ等を効果的に防止することができる。
その際、上記電子カム制御手段が実行される処理と上記コマンドテーブル制御手 段が実行される処理を、夫々共通の CPUにおいて時分割処理されるように構成する ことが考えられ、その結果、テーブルデータの作成に際して、他のテーブルデータに 用いられるデータとの相関を検討する必要がなくなるので、テーブルデータの作成が 容易になる。 又、上記電子カム制御手段と上記コマンドテーブル制御手段とを先行して起動させ る先行起動手段を設け、上記基準軸動作制御手段は上記電子カム制御手段と上記 コマンドテーブル制御手段の両者が上記先行起動手段により先行起動された後に 基準軸の動作を開始させるように構成することが考えられ、その場合には、コマンドテ 一ブル制御手段と電子カム制御手段とを基準軸に対して遅滞なく同期動作させるこ とが可能になる。
又、請求の範囲第 4項、第 5項は工作機械の数値制御方法としてクレームしたもの である。
発明の効果
本発明による工作機械の数値制御装置と工作機械の数値制御方法によると、電子 カム制御手段によって制御軸を制御するだけではなぐ基準軸動作制御手段と、コマ ンド処理実行用データテーブルと、コマンドテーブル制御手段とによって、 Sコードコ マンドや Mコードコマンドが実行すべき処理についても、電子カム制御によって実行 できるようにしたので、 NC制御と電子カム制御間の切換回数が大幅に減少すること になり、それによつて、加工に要する時間を短縮させることが可能になる。
又、 NCプログラムから電子カムプログラムへの変換率も高くなり、それによつて、加 ェ効率の向上を図ることが可能になる。
又、電子カム制御とコマンド処理制御が共通の基準軸に基づレ、て実行されるので、 両制御が同期して実行されることになり、両制御に基づく夫々の動作同士の干渉や コマンド処理のタイミングのずれ等を効果的に防止することができる。
又、上記電子カム制御手段が実行される処理と上記コマンドテーブル制御手段が 実行される処理を、夫々共通の CPUにおいて時分割処理されるように構成した場合 には、テーブルデータの作成に際して、他のテーブルデータに用いられるデータとの 相関を検討する必要がなくなるので、テーブルデータの作成が容易になると共に、コ マンド処理の影響で電子カム制御が不安定になるようなことを防止することができる。 又、上記電子カム制御手段と上記コマンドテーブル制御手段とを先行して起動させ る先行起動手段を設け、上記基準軸動作制御手段は上記電子カム制御手段と上記 コマンドテーブル制御手段の両者が上記先行起動手段により先行起動された後に 基準軸の動作を開始させるように構成した場合には、コマンドテーブル制御手段と電 子カム制御手段とを基準軸に対して遅滞なく同期動作させることが可能になる。 図面の簡単な説明
[0013] [図 1]本発明の一実施の形態を示す図で、数値制御工作機械の構成を示すブロック 図である。
[図 2]本発明の一実施の形態を示す図で、数値制御工作機械の概略の機械構成を 示す平面図である。
[図 3]本発明の一実施の形態を示す図で、図 3 (a)はサーブルの種類を示す図、図 3 (b)は Mテーブルと Sテーブルの内容を示す図、図 3 (c)は Sコードコマンドと Mコード コマンドの内容を示す図である。
[図 4]本発明の一実施の形態を示す図で、インタープリタ処理の内容を示すフローチ ヤートである。
[図 5]本発明の一実施の形態を示す図で、電子カム起動処理の内容を示すフローチ ヤートである。
[図 6]本発明の一実施の形態を示す図で、軸制御部の起動処理の内容を示すフロー チャートである。
[図 7]本発明の一実施の形態を示す図で、コマンド処理部の起動処理の内容を示す フローチャートである。
[図 8]本発明の一実施の形態を示す図で、コマンドテーブル処理の内容を示すフロ 一チャートである。
[図 9]本発明の一実施の形態を示す図で、図 9 (a)は変換前の NCプログラム例を示 す図、図 9 (b)は従来の変換後のプログラム例を示す図、図 9 (c)は実施例によった 場合の変換後のプログラム例を示す図である。
符号の説明
[0014] 1 数値制御工作機械
13 制御ユニット
51 中央演算ユニット
59 インタプリタ制御部 61 NCコード格納部
63 変換処理部
65 電子カム処理部
67 電子カムデータ格納部
69 軸制御部
71 コマンド処理部
73 軸制御テーブル
75 コマンドテープノレ
発明を実施するための最良の形態
[0015] 以下、図 1乃至図 9を参照して本発明の一実施の形態を説明する。
図 1は本実施形態に係る数値制御工作機械の全体構成を示すブロック図であり、 又、図 2は該数値制御工作機械の概略制御軸構成を示す平面図である。
図 1において、数値制御工作機械 1は、主軸回転用モータ 3、工具移動用モータ 5 、被加工物移動用モータ 7、背面主軸移動用モータ 9、背面主軸回転用モータ 11、 各種の補機 12、及びこれら主軸回転用モータ 3、工具移動用モータ 5、被加工物移 動用モータ 7、背面主軸移動用モータ 9、背面主軸回転用モータ 11、補機 12の駆動 を制御するための制御ユニット部 13を有している。
[0016] 上記主軸回転用モータ 3は、被加工物が保持可能に構成された主軸(図 2中符号 S1で示す)を回転駆動させるためのもので、駆動回路 15及び主軸回転制御回路 17 等を介して制御ユニット部 13に接続されている。又、主軸回転用モータ 3には、主軸 回転用モータ 3の回転を検知するためのパルスエンコーダ 19が設けられている。この パルスエンコーダ 19の出力は制御ユニット部 13及び速度信号生成回路 21に接続さ れており、ノ^レスエンコーダ 19から出力される回転検出信号が制御ユニット部 13及 び速度信号生成回路 21に入力される。パルスエンコーダ 19は、主軸回転用モータ 3 の回転に同期して回転検出信号を発生し、制御ユニット部 13及び速度信号生成回 路 21に出力する。速度信号生成回路 21は、パルスエンコーダ 19から出力される回 転検出信号を主軸回転用モータ 3の回転速度を意味する主軸回転速度信号に変換 する。速度信号生成回路 21の出力は主軸回転制御回路 17に接続されており、変換 された主軸回転速度信号が主軸回転制御回路 17に入力される。
[0017] 上記主軸回転制御回路 17は、クロック信号発生回路 23にて発生して出力されたク ロック信号を基準にして所望の回転速度となるように被加工物(主軸 S1に把持される 被カ卩ェ物)の回転を制御するためのものであり、制御ユニット部 13から出力される主 軸回転速度指令信号と、速度信号生成回路 21から出力される主軸回転速度信号と を比較して、その差に応じた制御信号をクロック信号を基準にして生成する。主軸回 転制御回路 17にて生成された制御信号は、駆動回路 15に出力される。
[0018] 上記駆動回路 15は、主軸回転制御回路 17から出力された制御信号に基づいて、 主軸回転用モータ 3 (主軸 S1)の回転速度が後述する主軸回転速度指令値となるよ うに主軸回転用モータ 13への供給電力を制御する。これら駆動回路 15、主軸回転 制御回路 17、及び、速度信号生成回路 21は、主軸回転用モータ 3 (主軸 S1)の回 転速度のフィードバック制御系を構成している。
[0019] 次に、上記工具移動用モータ 5は、被加工物を加工するための工具 (旋削加工用 バイト等、図 2中符号 TS1、 TS3で示す)を、例えば、主軸回転用モータ 3 (主軸 S1) の回転中心軸に対して直交する方向(X軸方向、 Y軸方向)、又は主軸と平行な方向 (Z軸方向)に移動させるためのもので、駆動回路 25及び工具送り制御回路 27を介 して制御ユニット部 13に接続されてレ、る。
因みに、この実施の形態の場合には、図 2に示すように、工具 TS1は XI軸方向と Y 1軸方向に移動制御されるように構成されており、一方、工具 TS3は X3軸方向と Y3 軸方向と Z3軸方向に移動制御されるように構成されてレ、る。
[0020] 又、工具としては工具 TS1、 TS3以外に、背面加工用工具 TS2が設けられている。
又、工具移動用モータ 5には、工具移動用モータ 5の回転を検出するパルスェンコ ーダ 29が設けられている。このパルスエンコーダ 29の出力は工具送り制御回路 27 に接続されており、パルスエンコーダ 29の回転検出信号が工具送り制御回路 27に 入力される。パルスエンコーダ 29は、工具移動用モータ 5の所定回転角度毎に回転 位置信号を発生して、工具送り制御回路 27に出力する。
[0021] 工具送り制御回路 27は、パルスエンコーダ 29から出力された回転位置信号に基 づいて実際の工具 TS1、 TS3の移動位置を認識すると共に、認識した実際の工具 T S1、TS3の移動位置と後述する制御ユニット部 13から出力される工具位置指令信 号とを比較して、この比較結果に基づいて工具駆動信号を生成する。工具送り制御 回路 27にて生成された工具駆動信号は、駆動回路 25に出力される。駆動回路 25 は、工具送り制御回路 27から出力された工具駆動信号に基づいて工具移動用モー タ 5への供給電力を制御する。これら、駆動回路 25及び工具送り制御回路 27は、ェ 具 TS1、TS3の移動位置のフィードバック制御系を構成している。
[0022] 次に、上記被加工物移動用モータ 7は、被力卩ェ物を、例えば、主軸回転用モータ 3
(主軸 S1)の回転中心軸に対して平行な方向(Z1軸方向)に移動させるためのもの で、駆動回路 31及び被力卩ェ物送り制御回路 33を介して制御ユニット部 13に接続さ れている。又、被力卩ェ物移動用モータ 7には、被加工物移動用モータ 7の回転を検 出するパルスエンコーダ 35が設けられている。このパルスエンコーダ 35の出力は被 加工物送り制御回路 33に接続されており、パルスエンコーダ 35の回転検出信号が 被加工物送り制御回路 33に入力される。パルスエンコーダ 35は、被加工物移動用 モータ 7の所定回転角度毎に回転検出信号を発生して、被加工物送り制御回路 33 に出力する。
[0023] 上記被加工物送り制御回路 33は、パルスエンコーダ 35から出力された回転検出 信号に基づいて実際の被カ卩ェ物の移動位置を認識すると共に、認識した実際の被 加工物の移動位置と制御ユニット部 13から出力される被加工物位置指令信号とを比 較して、この比較結果に基づいて被加工物駆動信号を生成する。所定回転角度毎 に生成された被加工物駆動信号は、駆動回路 31に出力される。駆動回路 31は、所 定回転角度毎に出力された被加工物駆動信号に基づいて被加工物移動用モータ 7 への供給電力を制御する。これら、駆動回路 31及び上記被加工物送り制御回路 33 は、被カ卩ェ物の移動位置のフィードバック制御系を構成している。
[0024] 次に、上記背面主軸台移動用モータ 9は、背面主軸 S2を、例えば、主軸回転用モ ータ 3 (主軸 S1)の回転中心軸に対して平行な方向(Z2軸方向)、又は、これと直交 する方向(X2軸方向)に移動させるためのもので、駆動回路 37及び背面主軸台送り 制御回路 39を介して制御ユニット部 13に接続されている。又、背面主軸台移動用モ ータ 9には、背面主軸台移動用モータ 9の回転を検出するパルスエンコーダ 41が設 けられている。このパルスエンコーダ 41の出力は背面主軸台送り制御回路 39に接続 されており、パルスエンコーダ 41の回転検出信号が背面主軸台送り制御回路 39に 入力される。パルスエンコーダ 41は、背面主軸台移動用モータ 9の所定回転角度毎 に回転位置信号を発生して、背面主軸台送り制御回路 39に出力する。
[0025] 上記背面主軸台送り制御回路 39は、パルスエンコーダ 41から出力された回転位 置信号に基づいて実際の背面主軸 S2の移動位置を認識すると共に、認識した実際 の背面主軸 S2の移動位置と後述する制御ユニット部 13から出力される背面主軸台 位置指令信号とを比較して、この比較結果に基づいて背面主軸台駆動信号を生成 する。背面主軸台送り制御回路 39にて生成された背面主軸台駆動信号は、駆動回 路 37に出力される。駆動回路 37は、背面主軸台送り制御回路 39から出力された駆 動信号に基づいて背面主軸台移動用モータ 9への供給電力を制御する。これら、駆 動回路 37及び背面主軸台送り制御回路 39は、背面主軸台の移動位置のフィードバ ック制御系を構成している。
[0026] 次に、上記背面主軸回転用モータ 11は、被加工物を保持可能に構成された背面 主軸 S2を C2方向に回転駆動させるためのもので、駆動回路 43及び背面主軸回転 制御回路 45等を介して制御ユニット部 13に接続されている。又、背面主軸回転用モ ータ 11には、背面主軸回転用モータ 11の回転を検知するためのパルスエンコーダ 4 7が設けられている。このパルスエンコーダ 47の出力は制御ユニット部 13及び速度 信号生成回路 49に接続されており、パルスエンコーダ 47から出力される回転検出信 号が制御ユニット部 13及び速度信号生成回路 49に入力される。ノ^レスエンコーダ 4 7は、背面主軸回転用モータ 11 (背面主軸 S2)の回転に同期して回転検出信号を 発生し、制御ユニット部 13及び速度信号生成回路 49に出力する。速度信号生成回 路 49は、パルスエンコーダ 47から出力される回転検出信号を背面主軸回転用モー タ 11 (背面主軸 S2)の回転速度をあらわす背面主軸回転速度信号に変換する。速 度信号生成回路 49の出力は背面主軸回転制御回路 45に接続されており、変換さ れた背面主軸回転速度信号が背面主軸回転制御回路 45に入力される。
[0027] 上記背面主軸回転制御回路 45は、クロック信号発生回路 23にて発生して出力さ れたクロック信号を基準にして所望の回転速度となるように被力卩ェ物(背面主軸 S2) の回転を制御するためのものであり、制御ユニット部 13から出力される背面主軸回転 速度指令信号と、速度信号生成回路 49から出力される背面主軸回転速度信号とを 比較して、その差に応じた制御信号をクロック信号を基準にして生成する。背面主軸 回転制御回路 45にて生成された制御信号は、駆動回路 43に出力される。
[0028] 上記駆動回路 43は、背面主軸回転制御回路 45から出力された制御信号に基づ いて、背面主軸回転用モータ 11 (背面主軸 S2)の回転速度が後述する背面主軸回 転速度指令値となるように背面主軸回転用モータ 11への供給電力を制御する。これ ら駆動回路 43、背面主軸回転制御回路 45、及び、速度信号生成回路 45は、背面 主軸回転用モータ 11 (背面主軸 S2)の回転速度のフィードバック制御系を構成して いる。
[0029] 又、補機 12は PLC (シーケンサ) 50を介して制御ユニット部 13に接続されていて、 PLC50を介して制御されるようになっている。又、操作パネル 52が設けられている。 尚、補機としては、例えば、加工部位に冷却用油を供給する為のクーラント装置等 が例として挙げられる。
[0030] 上記制御ユニット部 13は、図 1に示されるように、中央演算ユニット(CPU) 51、パ ノレス信号発生回路 53、 55、既に説明したクロック信号発生回路 23、分割タイミング 信号発生回路 57、インタプリタ処理部 59、 NCコード格納部 61、変換処理部(トラン スフォーマ) 63、電子カム処理部 65、電子カムデータ格納部 67等力 構成されてい る。上記電子カム処理部 65には、軸制御部 69とコマンド処理部 71が設けられている 。又、上記電子カムデータ格納部 67には、軸制御テーブル 73とコマンドテーブル 75 が設けられている。
[0031] 上記 CPU51は、制御ユニット部 13全体の信号処理等を司る演算部である。 CPU 51は、周知のマルチプロセッシング(multi— processing)処理、すなわち多重処理 を行う。多重処理は、複数の仕事 (プログラム)を記憶しておき、これら複数のプロダラ ムを短い時間で切り換えながら実行し、見かけ上、複数のプログラムが同時処理され ているようにするもので、時分割処理するものや、各々の仕事に優先順位を付してお き優先順位が高い順に処理を切り換えながらタスク処理するもの等が知られている。
[0032] 上記パルス信号発生回路 53、 55は、それぞれ、パルスエンコーダ 19、 47に接続さ れており、パルスエンコーダ 19、 47の夫々から出力された回転検出信号が図示しな レ、インターフェース (I/F)等を介して入力される。この入力された回転検出信号に基 づいて、所定回転角度毎にノ^レス信号を発生するように構成されている。又、パルス 信号発生回路 53、 55は、 CPU51にも接続されており、所定回転角度毎に発生する パルス信号を CPU51に出力するようにも構成されている。本実施形態において、パ ノレス信号発生回路 53、 55は、主軸回転用モータ 3 (主軸 S1)或いは、背面主軸回転 用モータ 11 (背面主軸 S2)がー回転する間に、主軸回転用モータ 3 (主軸 S1)、背面 主軸回転用モータ 11 (背面主軸 S2)に同期して等間隔でパルス信号が出力されるよ うに構成されている。
[0033] 上記クロック信号発生回路 23は、 CPU51から出力される所定の指令信号を受けて 、所定の周期、例えば、 0. 25ミリ秒周期のクロック信号を生成して出力するように構 成されており、クロック信号発生回路 23にて生成されたクロック信号は分割タイミング 信号発生回路 57に出力される。分割タイミング信号発生回路 57は、クロック信号発 生回路 23から出力されたクロック信号の発生回数をカウントするように構成されてお り、カウントの結果、例えば、 1ミリ秒経過する毎に分割タイミング信号を生成して CPU 51に出力する。したがって、分割タイミング信号発生回路 57は、 1ミリ秒周期の分割 タイミング信号を割込みタイミング信号として CPU51に出力することになる。
尚、クロック信号及び分割タイミング信号の周期は上述した数値に限られることなぐ
CPU51の処理能力、パルスエンコーダ 29、 35、 41の分解能、各モータ 3、 5、 7、 9 の性能等を考慮して適宜設定可能である。
[0034] 上記インタプリタ処理部 59は、 NCコードを解釈して実行するための処理を行うもの であり、上記 NCコード格納部 61には上記 NCコードが格納されているものである。又 、上記軸制御部 69は、軸制御テーブル 73の情報に従って制御軸をコントロールする ためのものである。又、上記軸制御テーブル 73には、軸制御部 69が実行するための データが格納されている。又、上記コマンド処理部 71は、コマンドテーブル 75に格納 されているコマンドに従ってコードを指令するためのものである。又、上記コマンドテ 一ブル 75には、コマンド処理部 71が実行するデータが格納されているものである。
[0035] 又、上記変換処理部 63は、 NCコードを電子カムデータに変換する処理を行うもの であり、電子カム起動用の NCコードを NCコード格納部 61に作成する。又、軸制御 テーブル 73とコマンドテーブル 75を電子カムデータ格納部 67に格納する。
[0036] ここで、上記軸制御テーブル 73とコマンドテーブル 75に格納されるテーブルにつ いて説明する。まず、テーブルには、図 3 (a)に示すように、「グノレープ番号」と「テー ブル種類」を夫々示す番号が付与されてレ、て分類分けされてレ、る。上記グループ番 号は、同時に実行されるグループを意味するものであり、具体的には、「01」のダル ープと「02」のグループがあり、グループ番号「01」が付与されているテーブルは同時 に実行されるものである。同様に、グループ番号「02」が付与されているテーブルも 同時に実行されるものである。又、上記テーブル種類はテーブルの使用目的を意味 するものであり、「01」であれば「X」、「02」であれば「Y」、「03」であれば「Ζ」、「04」 であれば「Μ」、 「05」であれば「S」を意味するものである。
尚、作成したテーブルの例を、図 3 (a)の下部に示す。
[0037] 又、図 3 (a)に示すような番号のテーブルが作成された場合には、「電子カム呼び出 し」毎に使用されるテーブルは次のようなものである。
「電子カム呼び出し(1)」
使用テーブル: 0101、 0102、 0103、 0104、 0105
「電子カム呼び出し(2)」
使用テーブル: 0201、 0202, 0203, 0204
そして、電子カム呼び出し時には、指定されたグループ番号とテーブル種類を基に テーブルを識別して所定の手順に従って処理するものである。
[0038] 又、軸制御テーブル 73には、基準軸のポジションと、そのときにあるべきポジション との組合せとして格納されてレ、る。
又、上記コマンドテーブル 75には、例えば、図 3 (b)に示すような形態でコマンドが 格納されている。
例えば、 Mテーブルの個所をみてみると、表の左側欄に基準軸のポジションを示す 数値が入っており、又、表の右側欄にはその時に指令されるべきコマンドが記入され ている。これは、 Sテーブルについても同様であり、表の左側欄に基準軸のポジション を示す数値が入っており、又、表の右側欄にはその時に指令されるべきコマンドが記 入されている。
図 3 (b)に示される Mテーブル、 Sテーブルに設定される Sコード相当コマンド、 Mコ ード相当コマンドは、基準軸に対し以下の考え方にて、テーブルに設定される。 変換前の NCプログラムにおいて、前基準として、 NCプログラムの各ブロックに記述 される移動指令、工具選択指令、 M指令、 S指令等を実行した場合に必要になる時 間を、ブロック毎に演算を行う。これは、ブロックに記述されるコマンドを実行した場合 に要する時間を計算するモジュールをトランスフォーマ 63に備えさせておき、これに よって、実行時間を演算する。この実行時間の演算が行われたら、各ブロックに記述 されたコマンドの処理に必要となる時間を、トランスフォーマ 63に指定される記憶場 所に、各ブロックに対応させて記憶させる。
このように、夫々のブロックの実行に要する時間を記憶したことで、特定のブロックに 記述されるコマンドが実行されるまでに要する累積時間を演算することができるように なる。この累積時間を基準軸値に換算して、コマンド実行の開始タイミングを基準軸 値として得ること力 Sできるものとされる。
このようにして得られたコマンド実行の開始タイミングとしての基準軸値に対応させ て、 NCプログラムのブロックに記述されていた M、 Sコード相当のコマンドが、コマン ドテーブル 75に設定されることになる。元の NCプログラムで指定されていた順序を 崩すことなぐ各コマンドが適切な順序で実行されるものとすることができるものとなつ ている。
次に、実際のコマンドの例を図 3 (c)に示す。例えば、 Sコードコマンド例をみてみる と、最初の 5個の数字「02000」は回転数を示している。次の数字「1」は主軸番号を 示している。すなわち、「1」は図 2に示す主軸 S1であり、「2」は図 2に示す背面主軸 S 2を意味している。そして、最後の 2個の数字「03」が回転方向を示している。すなわ ち、「03」が正転、「04」が逆転、「05」が停止である。
又、 Mコードコマンドの例をみてみると、最初の「00」が第 3Mコード、次の「19」が 第 2Mコード、最後の「23」が第 1Mコードを意味してレ、る。
変換元の NCプログラムにおいて指定される Mコードとの対応がこれら二桁の数字 によって表される。例えば、 "19" = M19、 "23" = M23等である。 [0040] 以上の構成を基にその作用を説明する。
まず、図 4を参照して、インタプリタ処理部 59によるインタープリタ処理に関して説明 する。
因みに、上記インタプリタ処理部 59による処理は、図示しないサイクルスタート釦の 操作等によって開始される。
ステップ S1において、ブロックカウンタを初期化、すなわち、「0」にする。次に、ステツ プ S2に移行して、ブロックカウンタで示されるブロックを読み込む。次に、ステップ S3 に移行して、読み込んだブロックが電子カム起動コマンドであるか否かを判別する。 判別の結果、電子カム起動コマンドであると判別された場合には、ステップ S4に移行 して、実行するテーブルのグループ番号を指定して、電子カム起動処理を実行する 。次いで、ステップ S5に移行して、ブロックカウンタを更新する。次いで、ステップ S6 に移行して、実行するブロックがあるか否力、を判別する。実行するブロックが有ると判 別された場合にはステップ S2に戻り、同様の処理を繰り返す。実行するブロックがな レ、と判別された場合にはリターンする。
[0041] ステップ S3において、電子カム起動コマンドではないと判別された場合には、ステ ップ S7に移行する。このステップ S7においては、プログラム終了コマンドであるか否 力の判別がなされる。プログラム終了コマンドであると判別された場合には、そのまま リターンする。プログラム終了コマンドではないと判別された場合には、ステップ S8に 移行して、通常のコマンド処理が実行される。次いで、既に説明したステップ S5、 S6 が順次実行されることになる。
[0042] 次に、図 5を参照して、ステップ S4の電子カム起動処理について詳しく説明する。
まず、ステップ S11において、同時実行する他の系統の有無をチェックし、同時実行 する系統が有れば系統間の待ち合わせを行う。次いで、ステップ S12に移行して、指 定されたテーブルのグノレープ番号を引数として呼び出して軸制御部の起動処理を行 う。次いで、ステップ S13に移行して、コマンド処理部の起動処理を実行する。次いで 、ステップ S 14に移行して、基準軸の移動を開始する。
尚、ここにおける軸制御部 69とコマンド処理部 71の夫々のタスクは、別々のタスクと して CPU51が実行するものとしている。夫々の処理を別々に実行するものとしたこと で、安定した処理を行わせることができるものとなっている。ここまでの処理によって、 全テーブルに関する電子カム動作が一斉に開始される。次いで、ステップ S15に移 行して、終了条件に達したか否力を判別する。
[0043] 上記判別において、終了条件に達したと判別された場合には、ステップ S16に移 行して、電子カム処理部 65 (軸制御部 69とコマンド処理部 71)を停止する。次いで、 ステップ S17に移行して、基準軸を停止し、且つ、ポジションを「0」に初期化する。
[0044] 次に、図 6を参照して、ステップ S12における軸制御部の起動処理に関して説明す る。まず、ステップ S21において、引数に渡されたグループ番号から実行すべき X軸 のテーブル番号を算出する。次いで、ステップ S22に移行して、算出したテーブルが あるか否かを判別する。算出したテーブルが有ると判別された場合には、ステップ S2 3に移行する。このステップ S23においては、指定テーブルによる X軸の電子カム動 作を開始する。次いで、ステップ S24に移行して、引数に渡されたグノレープ番号から 、実行すべき Y軸テーブル番号を算出する。上記ステップ S22において、算出したテ 一ブルがないと判別された場合には、ステップ S23を迂回して上記ステップ S24に移 行する。
[0045] 次いで、ステップ S25に移行して、算出したテーブルは有るか否かを判別する。 算出 したテーブルが有ると判別された場合には、ステップ S26に移行する。このステップ S 26においては、指定テーブルによる Y軸の電子カム動作を開始する。次いで、ステツ プ S27に移行して、引数に渡されたグノレープ番号から、実行すべき Z軸テーブル番 号を算出する。上記ステップ S25において、算出したテーブルがないと判別された場 合には、ステップ S26を迂回して上記ステップ S27に移行する。
[0046] 次いで、ステップ S28に移行して、算出したテーブルは有るか否かを判別する。 算 出したテーブルが有ると判別された場合には、ステップ S29に移行する。このステツ プ S29においては、指定テーブルによる Z軸の電子カム動作を開始する。次いで、リ ターンする。上記ステップ S28において、算出したテーブルがないと判別された場合 には、ステップ S29を迂回してリターンする。
[0047] 次に、図 7を参照して、ステップ S13におけるコマンド処理部の実行処理について 説明する。まず、ステップ S31において、引数に渡されたグループ番号から、実行す べき Mコードテーブル番号を算出する。次いで、ステップ S32に移行する。このステツ プ S32においては、算出したテーブルが有るか否かの判別がなされる。算出したテ 一ブルが有ると判別された場合には、ステップ S33に移行する。このステップ S33に おいては、 Mコード用コマンドテーブル処理が開始される。次いで、ステップ S34に 移行して、引数に渡されたグループ番号から、実行すべき Sコードテーブル番号を算 出する。上記ステップ S32において、算出したテーブルがないと判別された場合には 、ステップ S33を迂回して上記ステップ S34に移行する。
[0048] 次いで、ステップ S35に移行する。このステップ S35においては、算出したテーブル が有るか否かの判別がなされる。算出したテーブルが有ると判別された場合には、ス テツプ S36に移行する。このステップ S36においては、 Sコード用コマンドテーブル処 理が開始される。次いで、リターンする。上記ステップ S35において、算出したテープ ルがないと判別された場合には、ステップ S36を迂回してリターンする。
[0049] 次に、図 8を参照してコマンドテーブル処理、すなわち、図 7に示したステップ S33、 ステップ S36のコマンドテーブル処理に関して説明する。まず、ステップ S41におい て、コマンドテーブルの最初のブロックを読み込む。次いで、ステップ S42に移行して 、基準軸の値が既に過ぎているか否かを判別する。基準軸の値が既に過ぎていると 判別された場合には、ステップ S43に移行する。このステップ S43においては、基準 軸がテーブルの値に到達したか否かの判別がなされる。次いで、ステップ S44に移 行して、コマンド実行される。この場合には、 Mコードテーブルの場合には Mコードを 出力し、 Sコードテーブルの場合には Sコードを出力する。次いで、ステップ S45に移 行して、次のブロックを読み込む。上記ステップ S42において、基準軸の値が過ぎて いないと判別された場合には、上記ステップ S43、 S44を迂回して、ステップ S45に 移行する。このように、基準軸の値に対し、コマンドテーブルに記述されるコマンドが 実行される基準軸値との比較を行うことによって、ブロックスキップ処理が実行された 後のコマンドテーブルが再起動されたときに、基準軸値が既に過ぎてしまっているコ マンドの実行をスキップさせて、現時点における基準軸値に対応させたコマンドを実 行させることができるものとなる。
[0050] 次いで、ステップ S46に移行して、ブロックの有無を判別し、ブロック無しの場合に は終了する。ブロック有りの場合は、ステップ S42に戻り、同様の処理を繰り返すもの である。
[0051] 次に、実際の変換例を説明する。
例えば、図 9 (a)に示すような NCコードを例に挙げてみてみる。そこには、複数箇 所に Mコードが入っている。すなわち、上から 2行目の「M3」、上から 5行目の「M22 」、上から 8行目の「M23」である。これを従来の方法によって変換すると、図 9 (b)に 示すようなものとなる。つまり、上記 Mコード「M3」、「M22」、「M23」の部分について は電子カム制御ができないので、 NCコードによる制御に切り換える必要があり、その 後に電子カムを呼び出すことになる {電子カム呼び出し(1)、(2)、(3) }。これに対し て、これを本実施の形態によれば、図 9 (c)に示すようなものとなり、上記 Mコード「M 3」、「M22」、「M23」の部分についても電子カム制御が可能になるものである。
[0052] 以上本実施の形態によると次のような効果を奏することができる。
まず、電子カム処理部 65の軸制御部 69によって制御軸を制御するだけではなぐ 電子カム処理部 65のコマンド処理部 71によって Sコードコマンドや Mコードコマンド が実行すべき処理についても電子カム制御によって実行できるようにしたので、 NC 制御と電子カム制御間の切換回数が大幅に減少することになり、それによつて、加工 に要する時間を短縮させることが可能になった。
又、従来 NCプログラムによって実行していた Sコードや Mコードの内容についても 電子カムプログラムによって実施可能になったので、 NCプログラムから電子カムプロ グラムへの変換率も高くなり、それによつて、加工効率の向上を図ることが可能になる 又、電子カム制御とコマンド処理制御が共通の基準軸に基づレ、て実行されるので、 両制御が同期して実行されることになり、両制御に基づく夫々の動作同士の干渉や コマンド処理のタイミングのずれ等を効果的に防止することができる。
又、軸制御部 69による処理とコマンド処理部 71による処理を、夫々共通の CPU51 において時分割処理されるように構成されているので、軸制御テーブル 73とコマンド テーブル 75のデータ作成に際して、他のテーブルデータに用いられるデータとの相 関を検討する必要がなくなるので、テーブルデータの作成が容易になる。又、夫々の 処理を個別に実行することにより、コマンド処理の影響で電子カム制御が不安定にな るようなことを防止することができる。
又、図 5のステップ S12、 S13、 S14に示すように、軸制 ί卸部 69による処理とコマン ド処理部 71による処理の後に基準軸の動作を開始させるように構成しているので、 両処理を基準軸に対して遅滞なく同期動作させることが可能になる。
[0053] 尚、本発明は前記一実施の形態に限定されるものではなぐ例えば、機械構成につ いては、図示したものはあくまで一例であり、その他にも様々な構成の機械が考えら れる。
産業上の利用可能性
[0054] 本発明は、「Μコード」や「Sコード」の前後で電子カムデータを分断させるようなこと をなくすことにより加工時間の短縮を図り、且つ、 NCプログラムを電子カムプログラム に変換する場合の変換率を高めて、作業効率を向上させることを可能にする工作機 械の数値制御装置と工作機械の数値制御方法を提供することにある。電子カム制御 手段によって制御軸を制御するだけではなぐ基準軸動作制御手段と、コマンド処理 実行用データテーブルと、コマンドテーブル制御手段とによって、 Sコードコマンドや Mコードコマンドが実行すべき処理についても、電子カム制御によって実行できるよう にしたので、 NC制御と電子カム制御間の切換回数が大幅に減少することになり、そ れによって、加工に要する時間を大幅に短縮させることが可能になる。

Claims

請求の範囲
[1] 被加工物を主軸に保持させるようにすると共に、上記被加工物及びそれを加工す る工具の内少なくとも何れか一方を移動させて、上記被加工物を所望の形状に加工 するための工作機械の数値制御装置において、
制御軸を電子カムによって制御する電子カム制御手段と、
上記電子カム制御手段を実行する際に基準となる軸の動作を制御する基準軸動 作制御手段と、
上記基準軸動作制御手段による制御によって動作させられる基準軸に対して同期 して Sコード又は Mコード相当の機能を実行させる為に、基準軸と対応して実行させ るべき Sコード又は Mコード相当のコマンドが記述されるようにしたコマンド処理実行 用データテーブルと、
上記コマンド処理実行用データテーブルと前記基準軸に基づいてコマンド処理制 御を行うコマンドテーブル制御手段と、
を具備したことを特徴とする工作機械の数値制御装置。
[2] 請求の範囲第 1項記載の工作機械の数値制御装置において、
上記電子カム制御手段によって実行される処理と上記コマンドテーブル制御手段 によって実行される処理が夫々共通の CPUにおいて時分割処理されるようにする時 分割処理手段を備えたことを特徴とする工作機械の数値制御装置。
[3] 請求の範囲第 1項記載の工作機械の数値制御装置において、
上記電子カム制御手段と上記コマンドテーブル制御手段とを先行して起動させる 先行起動手段を備え、
上記基準軸動作制御手段は上記電子カム制御手段と上記コマンドテーブル制御 手段の両者が上記先行起動手段により先行起動された後に基準軸の動作を開始さ せるように制御するものであることを特徴とする工作機械の数値制御装置。
[4] 処理を開始して読み込んだブロックが電子カム起動コマンドであるか否力を判別す るステップと、
上記ステップにより電子カム起動コマンドであると判別された場合に電子カム起動 処理を実行するステップと、を具備し、 上記電子カム起動処理を実行するステップは、軸制御部の起動処理を行うステップ と、 コマンド処理部の起動処理を行うステップと、を備えていることを特徴とする工作 機械の数値制御方法。
請求の範囲第 4項記載の工作機械の数値制御方法において、
上記電子カム起動処理を実行するステップは、軸制御部の起動処理を行うステップ と、 コマンド処理部の起動処理を行うステップとを終了した後に、基準軸の移動を行 うステップを実行するものであることを特徴とする工作機械の数値制御方法。
PCT/JP2004/007686 2003-06-04 2004-06-03 工作機械の数値制御装置と工作機械の数値制御方法 WO2004109412A1 (ja)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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 スター精密株式会社 工作機械の数値制御装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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