WO2004083975A1 - 数値制御システム - Google Patents
数値制御システム Download PDFInfo
- Publication number
- WO2004083975A1 WO2004083975A1 PCT/JP2003/003135 JP0303135W WO2004083975A1 WO 2004083975 A1 WO2004083975 A1 WO 2004083975A1 JP 0303135 W JP0303135 W JP 0303135W WO 2004083975 A1 WO2004083975 A1 WO 2004083975A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- conversion
- machining program
- command
- program
- data
- 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/4155—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 programme execution, i.e. part programme or machine function execution, e.g. selection of a programme
-
- 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/36095—Inhibit or permit override by program instruction
-
- 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/43—Speed, acceleration, deceleration control ADC
- G05B2219/43158—Feedrate override
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10—TECHNICAL SUBJECTS COVERED BY FORMER USPC
- Y10S—TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10S707/00—Data processing: database and file management or data structures
- Y10S707/99941—Database schema or data structure
- Y10S707/99944—Object-oriented database structure
- Y10S707/99945—Object-oriented database structure processing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10—TECHNICAL SUBJECTS COVERED BY FORMER USPC
- Y10S—TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10S707/00—Data processing: database and file management or data structures
- Y10S707/99941—Database schema or data structure
- Y10S707/99948—Application of database or data structure, e.g. distributed, multimedia, or image
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10—TECHNICAL SUBJECTS COVERED BY FORMER USPC
- Y10S—TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10S715/00—Data processing: presentation processing of document, operator interface processing, and screen saver display processing
- Y10S715/961—Operator interface with visual structure or function dictated by intended use
Definitions
- the present invention relates to a numerical control system, and more specifically, generates data for assigning a machining program command (G code, MSTB command, etc.) to an internal process (application program) of a numerical controller, and executes a machining program operation. At times, high-speed operation is performed by control operation.
- G code machining program command
- MSTB command etc.
- the numerical control device executes a numerical control process based on a processing program instructed from a paper tape or the like, and drives a machine tool based on a result of the process to perform processing on a workpiece as instructed.
- a numerical control device basically adopts a configuration of a Neumann computer using a microprocessor, and software for controlling this system adopts a time-sharing control method using a real-time operating system.
- a sequential processing program which is a task associated with a hierarchical structure, is executed in a predetermined order by an interrupt signal (Interrupt, hereinafter referred to as IT) with a control unit time of 1 T (eg, 10 ms). Because the program is executed in a time-sharing manner, blank space may appear in the output of the operation result if the program analysis being executed is interrupted halfway.
- Interrupt hereinafter referred to as IT
- this system replaces the machining program with control data for performing positioning and interpolation feed according to the interpolation data.
- control data for performing positioning and interpolation feed according to the interpolation data.
- the present invention has been made to solve the above problems, and includes a means for generating data for allocating a command of the machining program to an internal process of a numerical control device before operating the machining program. And a conversion data executing means for directly and sequentially executing the internal processing based on the data generated by the comparing means during the operation of the machining program. Also, the present invention provides, when the command of the machining program is a G code and an MSTB command, the converting means, the command of the machining program is stored in a table provided in a memory, and an internal processing address of the numerical controller and an argument. Is to be set.
- the present invention provides a method wherein a command of the machining program is a variable or offset command.
- the converting means sets an internal processing address and a reference address of the numerical control device in a table provided in a memory.
- the present invention provides a method in which, before operating the machining program, if the command of the machining program is a G code, an MS command, the command of the machining program is stored in a table provided in a memory, A processing program for setting a processing address and an argument.Internal processing conversion means. If the processing program command is a variable or offset command before operating the processing program, the processing program command is provided in a memory. Variables for setting the internal processing address and reference address of the numerical control device in the table, offset converting means, and directly execute the internal processing based on the data generated by each converting means during operation of the machining program. It has a configuration having conversion data execution means.
- the analysis processing unit does not run during the operation of the machining program (because the analysis processing unit is not required), so that the calculation is not interrupted in the middle and no blank is generated in the output of the calculation result, and the numerical controller
- the cycle time can be reduced without increasing the load on the CPU on the side, and productivity is improved.
- the present invention is configured to have an I / O signal notification processing means for detecting a signal operated by an operator and notifying a condition to internal processing according to the content of the signal.
- the present invention has a configuration having conversion data determination means for determining the presence of the conversion data during the operation of the machining program, and notifying the conversion data execution means to execute the conversion data when the conversion data exists.
- the machining program that has the converted data always uses the converter data.
- the present invention has a conversion target program determining unit that determines a component valid / invalid instruction described in the added program and notifies the converting unit to convert only a machining program having a valid component instruction. It is a composition.
- the present invention also provides a conversion program selecting means for displaying a processing program list on a display, and selecting a conversion target program from the processing program list, and a conversion program selected by the conversion program selection means. And a conversion target program judging means for notifying the converting means to convert only a machining program having a conversion valid instruction.
- the memory area (memory usage) for registering the conversion data can be reduced as compared with the case where all machining programs are converted at once.
- the conversion results are displayed as a list on a display unit.
- the display device has a configuration for displaying a list of the results of the components to be displayed.
- the present invention also provides a converter for displaying detailed information of a conversion error on a display. This is a configuration having error display means.
- the present invention provides a power supply that activates the conversion means when the power is turned on. It has a configuration that has a program-computer start-up means at the time of injection.
- the present invention is configured to have a processing program conversion starting means for starting the converting means in response to the input of the PLC signal.
- FIG. 1 is a main part block diagram of a numerical control device having a machining program comparison function according to a first embodiment of the present invention.
- FIG. 2 is a flowchart showing a machining program conversion procedure according to Embodiment 1 of the present invention.
- FIG. 3 is a flowchart showing a procedure for executing the converted data during the machining operation according to the first embodiment of the present invention.
- FIG. 4 is a diagram showing details of the conversion process according to the first embodiment of the present invention.
- FIG. 5 is a diagram showing an example of a machining program to be converted according to the first embodiment of the present invention.
- FIG. 6 is a diagram showing a display example of a machining program list for selecting a conversion of the machining program according to the first embodiment of the present invention.
- FIG. 7 is a diagram showing a display example of a conversion result list according to the first embodiment of the present invention.
- FIG. 8 shows the details of the conversion error occurrence according to the first embodiment of the present invention. It is a figure showing an example of a display.
- FIG. 9 is a diagram showing machining program control information according to the first embodiment of the present invention.
- FIG. 10 is a diagram showing the internal information of the comparison result according to the first embodiment of the present invention.
- FIG. 11 is a flowchart showing a procedure for executing the conversion data when the operator changes the operating conditions during the machining operation according to the first embodiment of the present invention.
- FIG. 1 is a block diagram showing a main part of a numerical control device 101 having a machining program comparison function according to the first embodiment.
- Fig. 2 is a flowchart showing the procedure for converting the machining program
- Fig. 3 is a flowchart showing the procedure for executing the converted data during machining operation
- Fig. 4 is the converted data registered in the memory 61.
- Fig. 5 shows details of the data to be converted
- Fig. 5 shows a description example of a machining program to be converted
- Fig. 6 shows a setting example of programs to be converted / not processed
- Fig. 7 shows the conversion results.
- Fig. 8 shows a display example of the detailed contents when a conversion error occurs
- Fig. 9 shows the control information of the machining program
- Fig. 10 shows the internal detailed information of the conversion result.
- FIG. 11 is a flow chart showing a procedure for executing a complete comparison when the operator changes the operating conditions during the machining operation.
- reference numeral 101 denotes a numerical controller, and an analysis processing unit 103, an interpolation processing unit 104, a machine control signal processing unit 106, a PLC circuit 105, NC axis control section 180, spindle control section 110, data input / output circuit 120, memory 107, parameter setting section 108, screen processing section 10 9 and has.
- the numerical controller 101 is coupled to the servo driver 201 via the data input / output circuit 120, and drives the NC axis 204. Further, it is coupled to the spindle drive device 301 via the data input / output circuit 120, and drives the spindle 304.
- the machining program 102 read from a tape reader or the like is stored in the machining program area 601 of the memory 107.
- the analysis processing unit 103 normally reads out the machining program stored in the machining program area 601 from the memory 107 one block at a time and analyzes it one block at a time.
- the code analyzed for each block is passed to the interpolation processing unit 104, and performs interpolation control, spindle control, auxiliary function control, and the like for each block according to commands.
- the NC axis controller 180 controls the NC axis 204 to perform position determination, interpolation feed, and the like according to the interpolation data.
- the main spindle control unit 110 performs control for performing operations such as rotating, stopping, and orienting the main spindle at the commanded rotational speed on the commanded main spindle.
- the servo drive unit 201 is coupled to the servomotor 202, and drives the NC shaft 204 via gears, ball screws, etc. by position control based on position feedback from the detector 205. I do.
- the spindle drive unit 301 is coupled to the spindle motor 302 via gears and the like, and drives the spindle 304.
- a detector 305 is attached to the spindle 304, and the spindle drive unit 301 controls the orientation operation of the spindle motor 302 based on the position data input from the detector 305. I do.
- the configuration and operation described above are the configuration and operation of a general numerical controller.
- the configuration described below for converting the machining program 102 is as follows: It has been added to the configuration of general numerical controllers. The details of each configuration described below will be described with reference to FIGS. That is, a conversion data determination unit 401 is added to the analysis processing unit 103.
- the interpolation processing section 104 includes a conversion data execution means 900, a power-on machining program conversion start means 910, a G command processing group 902, an MSTB command processing group 903, a variable command processing. 904 and offset command processing 905 are added.
- a machining program conversion processing unit 501 is added to the numerical controller 101, and the machining program conversion processing unit 501 is used to convert machining programs and internal processing. It comprises program determination means 503 and variable 'offset conversion means 504'.
- a conversion data registration area 603 is added to the memory 107.
- a conversion program selection means 701 is added to the parameter setting section 108.
- the screen processing unit 109 is provided with a conversion result list means 801 and a conversion error display means 802.
- machine control signal processing unit 106 is further provided with a machining program conversion starting unit 1002, an I / O signal notifying unit 1003, and an MSTB command executing unit 1004.
- Embodiment 1 of the present invention each of the above-described components is added to the configuration of a general numerical control device.
- control data obtained by interpolating a processed program as described in the specification of International Publication No. W0 01/44882 A1 It is not a convert to If the command of the machining program is a G code or MSTB command, the command of the machining program is set in a table provided in a memory with an internal processing address and an argument of the numerical control device, Also, when the command of the machining program is a variable or offset command, it indicates that the internal processing address and the reference address of the numerical control device are set in a table provided in the memory.
- step 1 the power-on machining program conversion starting means 910 of the interpolation processing section 104 determines whether or not the power of the numerical controller 101 is being turned on. Whether the power is on or not is detected as follows. First, as a part of the initial processing of the interpolation processing section 104, the power-on machining program composite activation means 9101 is registered in advance. This initial processing is started as a subroutine from the operating system, and is started only once when the power of the numerical controller 101 is turned on. Therefore, when the power of the numerical controller 101 is turned on, the power-on machining program conversion starting means 901 is started only once. For this reason, whether or not the power is being turned on is detected based on whether or not the power-on machining program conversion starting means 901 is started.
- the power-on conversion program conversion starting means 901 starts the machining program conversion processing section 501 and proceeds to step 4. If the power-on machining program conversion starting means 9 0 1 is not started, the power is not being turned on, and the process proceeds to step 2.
- step 2 the processing program conversion activation means 1002 checks the conversion request signal from the PLC circuit 105.
- This conversion request signal is defined as one of the 1/0 signals that are handled in the same way as the commonly used signals such as automatic start, NC reset, etc., and the PLC circuit 105 and the machine control signal processor 106 Are exchanged between
- the machining program conversion starting means 1002 starts the machining program conversion processing section 501 and proceeds to step 4. In the case of off, that is, If the request signal has not been input, the process proceeds to step 3.
- the conversion program selection means 701 checks a conversion request by the operation of the operator. Specifically, the following checks are performed.
- the screen processing unit 109 displays the machining program 601 registered in the memory 107 on the display of the numerical controller 101, and displays a list of machining programs in a format as shown in FIG. Is displayed.
- 0110 indicates the highest machining program number, and usually indicates a machining program automatically started by an operator, that is, a machining program for machining a product.
- O900 and 0880 are machining programs called from 0110 and are called subprograms. Further, the subprogram 0.9010 called from 0900, and further the subprogram 09000 called from 0900 are sequentially displayed.
- a check box is displayed in front of the machining program number (left end), and the operator activates the check box of the machining program to be converted (in Fig. 6, conversion is valid indicates the country). Operation—When the check box is enabled, the conversion program selection means 701 turns on the conversion control information of the machining program control information registered in the memory 107 as shown in FIG. 9 ( "1").
- the additional program control information is composed of a machining program number, program editability, compound control information, and a pointer to the machining program area.
- the program editability is used as information on whether the machining program can be edited. For example, if the program edit permission is on (bit information “1”), the processing program is in a state where both writing and reading are possible (editable).
- conversion control information conversion effective flag
- conversion program selection means 70 1 The conversion valid flag is turned on. That is, if the conversion valid flag is on (bit information “1”), the program is not converted. If the conversion valid flag is off (bit information “0”), the program is not converted.
- the conversion program selection means 701 activates the machining program conversion processing unit 501 in response to the conversion request of the operator, and proceeds to step 4. If there is no conversion request from the operator, the process ends.
- step 4 the machining program conversion processing unit 510 activated by the power-on machining program conversion activation means 910, the machining program conversion activation means 1002, or the conversion program selection means 701 Starts the conversion process of the machining program. More specifically, the conversion process is a loop process.
- the conversion target program determination means 503 checks the end of the loop process. Specifically, the processing program registered in the memory 107 is read, and if there is no processing program to be read next, the process proceeds to step 9. If there is a machining program to be read next, proceed to step 5.
- the conversion target program determination means 503 checks the above-described conversion control information or the contents of the machining program (the first block). Specifically, the above-described conversion control information is read, and it is checked whether the conversion valid flag is on (bit information “1”).
- bit information “1” When checking the contents of the processing program, a character string “# CONVERT #” is described in advance in the first block of the processing program as shown in FIG. The character string is usually inserted at the beginning of the machining program using the editing function of the numerical controller 101.
- the conversion target program determination means 503 reads the first block of the machining program and checks whether there is a character string “# CONVERT #”. Check if it is.
- the conversion target program determination unit 503 notifies the conversion request to the machining program Go to 6. If the conversion valid flag is off or if the character string “# CONVERT #” does not exist in the first block of the machining program, go to step 4 and repeat the process.
- step 6 the machining program 'internal processing conversion means 502 reads the machining program determined to be a conversion object in response to the notification from the conversion object program determination means 503, and converts the conversion data registration area 603 of the memory 107. Write the machining program number information into the
- the conversion will be described with reference to FIG.
- the left end of Fig. 4 shows the machining program to be compared.
- the program number is “01 10”.
- “G0X10.0;” is a positioning command and indicates movement of the X axis to 10.0mm.
- Machining program ⁇ The internal processing conversion means 502 converts the pointer (head address) to the G 0 command processing of the G command processing group 902, which is an application program in the interpolation processing unit 104, into the conversion data setting area 60 Write to 3.
- “XI 0.0” is written in the conversion data registration area 603 as an argument of the GO command processing.
- the pointer (head address) to GO command processing is calculated as follows.
- the symbol information of the application program (GO command processing, M command processing, variable command processing, etc.) of the numerical controller 101 is usually registered in the operating system.
- the jump address of the application program that is, the head address of the application program is registered.
- the operating system is provided with a process for reading this symbol information, and the machining program and internal processing conversion means 502 obtains the head address of the target application program by calling the process of the operating system. so Wear. In this way, the machining program'internal processing conversion means 502 can write the head address of the GO command processing acquired in the processing of the operating system into the conversion data registration area 603.
- the “M3” command in FIG. 4 is a command to be notified to the PLC circuit 105 and is one of the commands related to the machine operation.
- M3 usually indicates the forward rotation command of the spindle, and other M commands include ( ⁇ reverse rotation command of spindle, stop command, cutting oil on / off command, etc., and handle signals related to machine control.
- the machining program 'internal processing conversion means 502 uses the start address and argument of the S command process, the start address and argument of the T command process, and the start address of the B command process. Write the argument in the conversion data registration area 603.
- the S command is a command for the rotation speed of the spindle motor 302, for example, “S 100 ⁇ 0 '' means that the spindle motor is rotated at 100 rpm with respect to the spindle motor 302, and the calorie program.
- the internal processing conversion means 502 converts this command to the S command processing address and argument ⁇ 1 ''. 0 00 ”is registered in the conversion data registration area 603.
- the T command is a command related to tool change.
- Machining program ⁇ Internal processing conversion means 502 registers this command in the address of command processing and the argument “10” in the conversion data registration area 603.
- the ⁇ command is called the second auxiliary function command, which performs machine control in the same way as the ⁇ command.
- the machining program and internal processing conversion means 502 converts this command into the ⁇ command processing address and argument. Is registered in the conversion data registration area 603.
- Variable values are often rewritten in the machining program during the execution of the machining program, so the values set on the variable setting screen at the time of conversion are converted beforehand and converted. It is not possible to register in the registration area 603.
- the address of the variable table in which the value of the variable is actually set is registered in the conversion data registration area 603.
- Variables are often described together with operation and assignment instructions. Therefore, an area for describing the variable operation is provided in the conversion data registration area 603, and if there is an operation, the symbol of the operator is described.
- the head address of variable command processing 904 is registered in the first table.
- the reference variable address of # 105 registers the reference variable address of # 105.
- variables handled by the numerical controller 101 are allocated to a fixed area of the memory 107.
- the numerical controller 101 basically has two types of variables, # 100 to # 199 and # 500 to # 599, which are assigned to fixed areas in the memory 107.
- the first address of the area of ⁇ # 100 to 199 '' that is, the address of # 100 is 0Xa806c000
- the first address of the area of ⁇ # 500 to # 599 '' that is, the address of # 500 is 0xa806 d000. It is determined as follows. Therefore, the variable reference address can be calculated from the value of the variable number. Since the size of the variable is usually 4 by t e, for variable # 105,
- variable 'offset conversion means 504 reads "T 1008".
- the last two digits of the command “08” indicate the tool offset number as described above.
- the tool offset value like the variable, is often rewritten in the machining program during execution of the machining program or the operator is rewritten, so the offset value set on the variable setting screen at the time of conversion is It cannot be converted in advance and registered in the conversion area 603. Therefore, the conversion of the tool offset is performed when the tool offset value is actually set.
- the address of the tool offset table is registered in the conversion data registration area 603. That is, the variable.offset conversion means 504 writes the head address to the offset command processing 905 in the interpolation processing unit 104 in the conversion data overnight registration area 603, and then writes the reference destination offset address in the conversion data registration area. Write to 603.
- the reference destination offset address is calculated as follows.
- the tool offset data is basically assigned to a fixed area of the memory 107 of the numerical controller 101. For example, in the case of “T 8”, if the start address (address of “ ⁇ 1”) of the tool offset data is 0xa 806 e 000, the offset reference address can be calculated from the tool offset number.
- the size of the offset is usually 4 byt e, so in this case
- one machining program can be converted into an application program of the numerical controller 101.
- step 7 if the conversion is completed normally, the machining program conversion processing unit 501 stores the machining program number and the comparison in the conversion result internal information shown in FIG. 10 in the conversion data registration area 603 of the memory 107. After writing “0” to the error flag, return to step 4 and repeat the process. Also, if there is a description error in the machining program, the conversion cannot be performed and the error will occur. In this case, the machining program conversion processing unit 501 writes “1” to the conversion error flag of the compact data registration area 603 of the memory 107, and further writes the contents of the conversion error to the conversion data registration area 603. Specifically, as shown in Fig.
- the machining program number, the conversion error flag, the error number, the error occurrence sequence number, the error occurrence block number, and the contents of the error occurrence program are written. . Convert Era
- the bit is bit information as described above. When it is “0”, it indicates normal completion, and when it is “1”, an error has occurred. If the conversion is completed normally, write the machining program number and the conversion error flag ("0").
- the machining program number is 8800
- the conversion error flag is "1”
- the error number is "3 2”
- the sequence number is "2 0”
- the block number is Write “3” and the program content “M-1” in the conversion result internal information.
- the error number “3 2” means an illegal address.
- step 8 the conversion error display means 802 checks the conversion error flag in the conversion result internal report and displays it on the display in the format shown in FIG.
- the error occurrence machining program number, error number, error occurrence sequence number, error occurrence block number, and error occurrence program content are displayed in order from the left.
- an error of 0900 is displayed on the first, an error of 0900 on the second, and an error of 0880 on the third.
- the conversion result list means 801 checks the conversion error flag of the conversion result internal information and displays it on the display in a format as shown in FIG.
- the display format indicates whether the machining program number and conversion data are normal or error, or whether conversion is not performed.
- 0 1 1 0 is normal
- 0 0 0 0 0 0 is error
- 0 0 0 1 0 is not subject to conversion
- 0 0 0 0 0 0 0 is error
- 0 0 8 0 0 is error Is displayed.
- the conversion result can be confirmed from the two pieces of information (screen) in which the operating device is displayed on the display.
- step 21 the conversion data judgment means 401 reads the machining program number from the memory 107 first.
- step 22 the conversion data determining means 401 compares the machining program number in the conversion data recording area 603 with the machining program number read from the memory 107. If the machining program number does not exist in the conversion data overnight registration area 603, the process proceeds to step 31 to execute the normal machining program 601 registered in the memory 107 as usual. If the machining program number exists in the conversion data registration area 603, the compare data overnight judgment means 401 notifies the conversion data execution means 900 of the execution of the conversion data of the machining program number. Then go to step 23.
- step 23 the conversion data execution means 900 checks the end of the conversion data execution of the machining program number. This is because the execution process is a loop process. The end of the execution is determined by whether or not the jump table of the complete data of the machining program number has been completely executed. If the execution has been completed, the process ends. If not, proceed to step 24. In step 24, if the jump table in the conversion data registration area 603 is an address to the G command processing group 902, the process proceeds to step 25, and if it is not an address to the G command processing group 902, Proceed to step 27.
- step 25 the conversion data execution means 900 loads the argument to the G command processing group 902 on the stack, sets the address to the G command processing group 902 in the program counter, and executes the G command processing.
- step 26 the GO command processing calculates the end point coordinates from the argument ("X10.0") and performs positioning.
- the GO command processing since the information on the feed speed is set in the parameter (registered in the memory 107) in the case of GO, the GO command processing reads the feed speed data from the parameter.
- the movement amount per unit time that is, the interpolation movement amount
- the interpolation movement amount is generated with a value corresponding to the speed, and the interpolation movement amount is set in advance by a parameter.
- the movement amount per unit time is calculated so as to draw a predetermined acceleration / deceleration pattern based on the pattern and the time constant.
- the feed speed information is given as an argument in the conversion data registration area 603 as described above, so the G1 command processing uses the feed speed data of the argument.
- the movement amount per unit time that is, the interpolation movement amount
- the interpolation movement amount is generated with a value corresponding to the speed in the same manner as GO, and the interpolation movement amount is set so as to draw a predetermined acceleration / deceleration pattern based on a pattern and a time constant set in advance over time. It is calculated by the amount of movement per unit time. After the completion of the process, the process returns to step 23 to repeat the process.
- step 27 if the jump table in the conversion data overnight registration area 603 has an address for the MSTB command processing, the process proceeds to step 28. If not, the process proceeds to step 30.
- step 28 the conversion data execution means 900 loads an argument to the MSTB command processing group 903 on the stack, sets the address to the MSTB command processing group 903 in the program counter, and calls the MSTB command processing group 903.
- step 29 as explained in the example of FIG. 4, in the case of the M3 command, the M command processing of the MSTB command processing group 903 starts the MSTB command of the machine control signal processing unit 106 from the argument “3” (M number 3).
- An M number “3” and a strobe signal are set to the interface with the PLC circuit 105 via the execution means 1004.
- the strobe signal is a signal for notifying the PLC circuit 105 of the M command, the S command, the T command, or the B command.
- the PLC circuit 105 detects the strobe signal and recognizes that the M command has been analyzed. Then, a process corresponding to the M number set in the interface, that is, a machine sequence process is executed. For example, in the case of M3, since the spindle indicates forward rotation, the PLC circuit 105 determines whether the spindle is ready to rotate (for example, whether the check is closed) and the spindle rotates. If it is possible, complete the processing of the spindle normal rotation signal and M command. A completion signal is set in the interface to notify that the operation has been performed. Upon detecting the completion signal, the MSTB command execution means 1004 notifies the M command processing of the MSTB command processing group 903 of the information of the spindle normal rotation command.
- a forward rotation signal for the spindle motor module 302 is sent to the spindle drive via the spindle control unit 110 and the data input / output circuit 120.
- the main shaft motor 302 is rotated by outputting to the device 301.
- the process returns to step 23 to repeat the processing.
- the M command has been described, but other commands, that is, the B command, the S command, and the T command are processed in the same manner.
- the conversion data execution means 9 0 0 In the case of an address to the offset command processing 9 05, the conversion data execution means 9 0 0 The following reference offset address is loaded on the stack as an argument to the offset command processing 9 05, and the offset command processing 9 0 5 is called. .
- the actual offset value is read from the offset address of the offset number "08”, and the machine coordinate value is changed by the offset value. .
- the process of step 30 returns to step 23 Repeat the process.
- the I / O signal notifying means 1003 monitors a signal change from the PLC circuit 105. For example, if the operator operates the speed override dial, 1) The circuit 105 reads the dial value of the speed override dial, and sets it as the override value in the interface described above. When the operator turns on the MSTB lock switch, the PLC circuit 105 detects the state of the switch and sets the MSTB lock signal on the interface. The I / O signal notification means 1003 recognizes these as signal changes. In step 42, the I / O signal notifying means 1003 determines a signal related to the G command processing.
- the signal determination related to the G command processing is performed by classifying the I / O signals in advance into the signals related to the G command processing, registering them in the memory 107, and referring to this information. If the signal is related to the G command processing, proceed to step 43; otherwise, proceed to step 45.
- the I / O signal notification means 1003 notifies the target G command processing of the signal content. For example, referring to the example in Fig. 4, if the operator operates the speed override dial from 100% to 50% during G0X 10.0, the speed override value from the PLC circuit 105 will change from 100% to 50%. Changes to%.
- the I / O signal notifying means 1003 inquires of the conversion execution section 900 about the currently executed processing.
- the conversion data executing means 900 notifies the I / 0 signal notifying means 1003 of the process currently being executed. In this case, it notifies that it is GO command processing.
- the I / O signal notification means 1003 receives the notification from the conversion data execution means 900 and notifies the GO command processing that the speed override value has changed from 100% to 50%. In the example of Fig. 4, The line arrow part corresponds.
- the GO command processing sets the interpolation movement amount to the command speed (in this case, 50%, that is, 1/2 speed data).
- the interpolation movement amount is calculated again based on the movement amount per unit time so as to draw a predetermined acceleration / deceleration pattern based on a pattern and a time constant set in advance in a parameter. .
- the I / O signal notifying means 1003 notifies the target MSTB command processing of the signal content. For example, referring to the example of FIG. 4, when the operator turns on the operation switch of the MSTB lock, the MSTB lock signal is notified to the I / O signal notification means 1003 via the PLC circuit 105. Since the MS TB lock signal is a signal indicating that the MS TB command is not executed, the I / O signal notification means 1003 receives the MSTB lock signal for M command processing, S command processing, T command processing, and B command processing. Notify that
- step 46 upon receiving the notification of the MSTB lock signal from the IZO signal notifying means 1003, the M command processing changes the internal state so as not to execute the signal processing from the next M command. 4, the signal for rotating the spindle is not notified to the spindle driving device 301 even if the M command is called by the M3 command which is the spindle normal rotation command.
- Embodiment 2
- the machining program conversion processing unit 501 is provided on a PC (personal computer), and the above-described conversion process is performed by the PC before the machining program is operated, and the converted data is registered in the conversion data of the numerical controller.
- the data may be stored in the area 603 via a communication line.
- the above-described conversion processing is performed by the PC before operating the machining program.
- the converted data may be stored in the conversion data registration area 603 of the numerical controller via a two-port RAM.
- a machining program conversion processing unit 501 and a conversion data overnight registration area 603 are provided on a PC. Before the machining program is operated on the PC, the above-described conversion process is performed.
- the conversion data is stored in the conversion data registration area 603 provided on the PC side, and a buffer memory is prepared in the NC main body in advance, so that the conversion data can be registered on the PC side during the operation of the machining program.
- the internal processing (application program) of the numerical control unit is executed. You may comprise.
- the conversion program selection means 701, the conversion result list display means 801 and the conversion error display means 802 may be provided on the PC side as necessary.
- the numerical control system according to the present invention is suitable for being used as a numerical control system that performs high-speed operation during a machining program operation.
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
- Programmable Controllers (AREA)
Description
Claims
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US10/549,114 US7548795B2 (en) | 2003-03-17 | 2003-03-17 | Numerical control system |
JP2004569543A JP4311349B2 (ja) | 2003-03-17 | 2003-03-17 | 数値制御システム |
PCT/JP2003/003135 WO2004083975A1 (ja) | 2003-03-17 | 2003-03-17 | 数値制御システム |
DE10394189T DE10394189T5 (de) | 2003-03-17 | 2003-03-17 | Numeriksteuersystem |
CN03826159A CN100585525C (zh) | 2003-03-17 | 2003-03-17 | 数控系统 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2003/003135 WO2004083975A1 (ja) | 2003-03-17 | 2003-03-17 | 数値制御システム |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2004083975A1 true WO2004083975A1 (ja) | 2004-09-30 |
Family
ID=33018120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2003/003135 WO2004083975A1 (ja) | 2003-03-17 | 2003-03-17 | 数値制御システム |
Country Status (5)
Country | Link |
---|---|
US (1) | US7548795B2 (ja) |
JP (1) | JP4311349B2 (ja) |
CN (1) | CN100585525C (ja) |
DE (1) | DE10394189T5 (ja) |
WO (1) | WO2004083975A1 (ja) |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006293744A (ja) * | 2005-04-12 | 2006-10-26 | Fanuc Ltd | プログラム変換装置 |
DE112006000330T5 (de) * | 2006-07-26 | 2009-06-04 | Mitsubishi Electric Corp. | Numerische Steuerungsvorrichtung |
JP5280665B2 (ja) * | 2007-10-26 | 2013-09-04 | オークマ株式会社 | 手動シフト操作機能を備えた数値制御装置 |
US8688258B2 (en) | 2008-09-11 | 2014-04-01 | Rockwell Automation Technologies, Inc. | Method of controlling a machine tool |
EP2189861B1 (de) * | 2008-11-24 | 2012-10-31 | Siemens Aktiengesellschaft | Verfahren zur Erstellung eines Teileprogramms |
CN102365594B (zh) * | 2009-03-25 | 2014-04-16 | 三菱电机株式会社 | 参数设定装置 |
US8498733B2 (en) * | 2009-09-28 | 2013-07-30 | Hurco Companies, Inc. | Method and apparatus for reducing tool change operations |
CN102789208A (zh) * | 2011-05-18 | 2012-11-21 | 大连光洋科技工程有限公司 | 记录及利用操作信息的数控系统及其操作方法 |
KR101856198B1 (ko) * | 2011-12-26 | 2018-05-11 | 두산공작기계 주식회사 | 공구 교환 제어 장치 및 그 방법 |
WO2014118918A1 (ja) * | 2013-01-30 | 2014-08-07 | 三菱電機株式会社 | 数値制御装置 |
CN103197594A (zh) * | 2013-02-27 | 2013-07-10 | 上海维宏电子科技股份有限公司 | 数控机床控制系统中实现双区域加工的方法 |
DE112013006799T5 (de) * | 2013-04-08 | 2015-11-26 | Mitsubishi Electric Corporation | Numerische Steuerungsvorrichtung |
US9207986B2 (en) * | 2013-04-11 | 2015-12-08 | Facebook, Inc. | Identifying a next window of idle time to perform pre-generation tasks of content portions outside of the displayable region stored in a message queue |
US9760964B2 (en) | 2013-04-11 | 2017-09-12 | Facebook, Inc. | Application-tailored object re-use and recycling |
US10126903B2 (en) | 2013-04-15 | 2018-11-13 | Facebook, Inc. | Application-tailored object pre-inflation |
JP5960189B2 (ja) * | 2014-04-18 | 2016-08-02 | ファナック株式会社 | 加工サイクル生成機能を有する数値制御装置およびプログラム編集方法 |
JP6088478B2 (ja) * | 2014-10-27 | 2017-03-01 | ファナック株式会社 | テーブル形式データによる運転を行う数値制御装置 |
JP6026490B2 (ja) * | 2014-11-07 | 2016-11-16 | ファナック株式会社 | パラメータ変更によりncプログラムの起動が可能な数値制御装置 |
EP3045993A1 (de) * | 2015-01-15 | 2016-07-20 | Siemens Aktiengesellschaft | Fertigungssystem mit zusätzlicher Funktionalität und Betriebsverfahren |
JP7372053B2 (ja) * | 2019-05-20 | 2023-10-31 | ファナック株式会社 | 演算装置 |
CN112147951B (zh) * | 2020-09-28 | 2022-09-30 | 沈机(上海)智能系统研发设计有限公司 | 机加工设备热误差补偿方法及其装置、系统、介质、终端 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06318109A (ja) * | 1993-12-27 | 1994-11-15 | Fanuc Ltd | 数値制御装置 |
JPH086623A (ja) * | 1994-06-23 | 1996-01-12 | Okuma Mach Works Ltd | 手動割り込み軸移動機能を備えた数値制御装置 |
EP0816959A2 (en) * | 1996-07-02 | 1998-01-07 | Toyoda Koki Kabushiki Kaisha | Compact numerical controller |
JPH11149307A (ja) * | 1997-11-17 | 1999-06-02 | Yaskawa Electric Corp | 2次記憶装置を備えたロボット制御装置 |
JP2001228905A (ja) * | 2000-02-18 | 2001-08-24 | Nisshinbo Ind Inc | 運転訓練支援機能を有する数値制御装置 |
JP2002123306A (ja) * | 2000-10-17 | 2002-04-26 | Toshiba Mach Co Ltd | 工作機械の監視システム |
JP2003053688A (ja) * | 2001-05-15 | 2003-02-26 | Fanuc Robotics North America Inc | 教示ペンダントを有するロボット・システム |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59172008A (ja) * | 1983-03-22 | 1984-09-28 | Mitsubishi Electric Corp | 数値制御装置 |
US5600584A (en) * | 1992-09-15 | 1997-02-04 | Schlafly; Roger | Interactive formula compiler and range estimator |
GB2369456A (en) | 1999-12-17 | 2002-05-29 | Mitsubishi Electric Corp | Method and system for numerical control of machine tool |
US20030195642A1 (en) * | 2002-04-12 | 2003-10-16 | Ragnini Richard Raymond | Portable hand-held CNC machine tool programming device |
-
2003
- 2003-03-17 DE DE10394189T patent/DE10394189T5/de not_active Withdrawn
- 2003-03-17 US US10/549,114 patent/US7548795B2/en active Active
- 2003-03-17 JP JP2004569543A patent/JP4311349B2/ja not_active Expired - Lifetime
- 2003-03-17 CN CN03826159A patent/CN100585525C/zh not_active Expired - Fee Related
- 2003-03-17 WO PCT/JP2003/003135 patent/WO2004083975A1/ja active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06318109A (ja) * | 1993-12-27 | 1994-11-15 | Fanuc Ltd | 数値制御装置 |
JPH086623A (ja) * | 1994-06-23 | 1996-01-12 | Okuma Mach Works Ltd | 手動割り込み軸移動機能を備えた数値制御装置 |
EP0816959A2 (en) * | 1996-07-02 | 1998-01-07 | Toyoda Koki Kabushiki Kaisha | Compact numerical controller |
JPH11149307A (ja) * | 1997-11-17 | 1999-06-02 | Yaskawa Electric Corp | 2次記憶装置を備えたロボット制御装置 |
JP2001228905A (ja) * | 2000-02-18 | 2001-08-24 | Nisshinbo Ind Inc | 運転訓練支援機能を有する数値制御装置 |
JP2002123306A (ja) * | 2000-10-17 | 2002-04-26 | Toshiba Mach Co Ltd | 工作機械の監視システム |
JP2003053688A (ja) * | 2001-05-15 | 2003-02-26 | Fanuc Robotics North America Inc | 教示ペンダントを有するロボット・システム |
Also Published As
Publication number | Publication date |
---|---|
JPWO2004083975A1 (ja) | 2006-06-22 |
CN1759357A (zh) | 2006-04-12 |
DE10394189T5 (de) | 2006-02-02 |
US20060173572A1 (en) | 2006-08-03 |
JP4311349B2 (ja) | 2009-08-12 |
CN100585525C (zh) | 2010-01-27 |
US7548795B2 (en) | 2009-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2004083975A1 (ja) | 数値制御システム | |
JP4388427B2 (ja) | スクリプト言語で記述されたプログラムを呼出し可能な数値制御装置 | |
US5321603A (en) | Programming apparatus for an industrial controller using two-dimensional graphic behavior profiles | |
CN103676772A (zh) | 具有系统间等待功能的数值控制装置 | |
EP1710645B1 (en) | Numerical control system | |
EP1918796A2 (en) | Numerical controller with machining resume function | |
US20040236462A1 (en) | Numerical control apparatus for machine tool | |
US20160062336A1 (en) | Numerical controller for facilitating adjustment of machining motion | |
JP6638979B2 (ja) | 加工工程管理機能付き数値制御装置および加工工程管理プログラム | |
US4328448A (en) | Method for programmably controlling the sequence of execution of data blocks in a program | |
JP7448377B2 (ja) | 加工プログラムの管理装置、管理システム、管理方法 | |
US11360454B2 (en) | Ladder display device for circuit generation using touch panel | |
JP4112433B2 (ja) | 工作機械の数値制御装置と工作機械の数値制御方法 | |
JP3764436B2 (ja) | 機械の制御装置 | |
JPS61160108A (ja) | 数値制御工作機械における加工制御方法 | |
JP2008211888A (ja) | 電動機制御装置および電動機制御装置のパラメータ設定装置 | |
JPH02151909A (ja) | 産業用機械の制御装置 | |
US20040176871A1 (en) | Processing program creation apparatus | |
WO1988006751A1 (en) | Processor for plc and plc | |
JP7473653B2 (ja) | 制御対象物を制御する設定パラメータを所定のタイミングで変更する機能を有する数値制御装置及びその設定パラメータ変更方法 | |
WO2023203724A1 (ja) | 表示装置およびコンピュータ読み取り可能な記憶媒体 | |
JP4208600B2 (ja) | Nc工作機械 | |
JP2503634B2 (ja) | マイクロプログラム制御装置 | |
JPH02114302A (ja) | 数値制御装置 | |
JPH11194808A (ja) | 数値制御装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A1 Designated state(s): CN DE JP US |
|
DFPE | Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101) | ||
WWE | Wipo information: entry into national phase |
Ref document number: 2004569543 Country of ref document: JP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 20038261596 Country of ref document: CN |
|
RET | De translation (de og part 6b) |
Ref document number: 10394189 Country of ref document: DE Date of ref document: 20060202 Kind code of ref document: P |
|
WWE | Wipo information: entry into national phase |
Ref document number: 10394189 Country of ref document: DE |
|
ENP | Entry into the national phase |
Ref document number: 2006173572 Country of ref document: US Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 10549114 Country of ref document: US |
|
WWP | Wipo information: published in national office |
Ref document number: 10549114 Country of ref document: US |