WO2014118918A1 - 数値制御装置 - Google Patents
数値制御装置 Download PDFInfo
- Publication number
- WO2014118918A1 WO2014118918A1 PCT/JP2013/052083 JP2013052083W WO2014118918A1 WO 2014118918 A1 WO2014118918 A1 WO 2014118918A1 JP 2013052083 W JP2013052083 W JP 2013052083W WO 2014118918 A1 WO2014118918 A1 WO 2014118918A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- control variable
- exclusive control
- program
- machining program
- machining
- Prior art date
Links
Images
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/34—Director, elements to supervisory
- G05B2219/34396—Control different groups of functions, commands simultaneously, synchronized
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/36—Nc in input of data, input key till input tape
- G05B2219/36095—Inhibit or permit override by program instruction
Definitions
- the present invention relates to a numerical controller that controls a plurality of systems for each system.
- machining is performed by creating different machining programs for each system and executing each machining program.
- a multi-system numerical control device that performs such machining, when one system is executing a machining program, the other system is stopping the program, and multiple systems are simultaneously executing the machining program. There is a case to do.
- different programs are executed simultaneously in a plurality of systems, machining time can be shortened.
- the commands (data) in the program used when simultaneously executing machining programs for multiple systems include a command that can store different values for each system even if the same command is used between systems, There are commands that can store values (one value between systems) (see, for example, Patent Documents 1 and 2).
- the present invention has been made in view of the above, and is a case where, when simultaneously executing a machining program for a plurality of systems, a common value is stored between systems using the same command between systems.
- an object of the present invention is to obtain a numerical control device that can execute a desired operation for each system.
- the present invention provides a program storage unit that stores a machining program for each system, and analyzes the machining program for each system, thereby independently processing each system.
- a program analysis unit that executes the program, and the program analysis unit executes the control variable in the machining program of any system when the control variable is not executed in the machining program of any system.
- the execution of the control variable is permitted only to the executed system, and even if the control variable is attempted to be executed in a machining program of a system other than the executed system, the execution of the control variable is not permitted.
- any one of the machining programs is allowed to execute the control variable.
- machining program for a plurality of systems when a machining program for a plurality of systems is simultaneously executed, even if a single value common to the systems is stored using the same command between the systems, a desired operation is performed for each system. There is an effect that it becomes possible to execute.
- FIG. 1 is a block diagram showing the configuration of the NC apparatus according to the first embodiment.
- FIG. 2 is a diagram for explaining exclusive control variables used in the NC apparatus according to the first embodiment.
- FIG. 3 is a flowchart showing a processing procedure for setting a value to the exclusive control variable.
- FIG. 4 is a flowchart showing the processing procedure for setting “0” to the exclusive control variable.
- FIG. 5 is a flowchart showing a processing procedure of processing for referring to the exclusive control variable.
- FIG. 6 is a diagram illustrating an example of a machining program used in the NC device according to the first embodiment.
- FIG. 7 is a flowchart showing an operation processing procedure for each system when the machining program shown in FIG. 6 is executed.
- FIG. 1 is a block diagram showing the configuration of the NC apparatus according to the first embodiment.
- FIG. 2 is a diagram for explaining exclusive control variables used in the NC apparatus according to the first embodiment.
- FIG. 3 is a flowchart showing a processing procedure for setting
- FIG. 8 is a timing chart of the system bit when the machining program shown in FIG. 6 is executed.
- FIG. 9 is a block diagram illustrating a configuration of the NC device according to the second embodiment.
- FIG. 10 is a flowchart showing a processing procedure for setting a value in the exclusive control variable.
- FIG. 11 is a diagram illustrating an example of a machining program used in the NC apparatus according to the second embodiment.
- FIG. 12 is a flowchart showing an operation processing procedure for each system when the machining program shown in FIG. 11 is executed.
- FIG. 13 is a timing chart of the system bit when the machining program shown in FIG. 11 is executed.
- FIG. 14 is a block diagram illustrating a configuration of the NC device according to the third embodiment.
- FIG. 15 is a diagram for explaining exclusive control designation parameter designation processing.
- FIG. 16 is a diagram illustrating a configuration of the exclusive control variable specifying unit.
- FIG. 17 is a diagram showing an example of a conventional machining program.
- FIG. 1 is a block diagram showing the configuration of the NC apparatus according to the first embodiment.
- An NC (Numerical Control) device (numerical control device) 1A is a device that controls a multi-system machine having a plurality of systems.
- the NC device 1A performs an exclusive operation for each system when a plurality of systems simultaneously execute each machining program.
- the NC apparatus 1A includes a memory 2, a program analysis unit 3A, an interpolation processing unit 4, a screen processing unit 5, a machine control signal processing unit 6, a PLC 7, an input control unit 8, and an axis data output unit 9.
- the input control unit 8 is connected to the input operation unit 41.
- the input control unit 8 detects a change in a switch signal or the like, an editing of a machining program, a change in a parameter, or the like. Based on the detected content, the input control unit 8 accesses each unit in the memory 2 and performs a process of rewriting or reading information stored in the memory 2.
- the input operation unit 41 includes a mouse, a keyboard, and the like.
- the memory 2 includes a machining program storage unit 25, a parameter storage unit 26, a screen display data storage unit 27, and a shared area 28.
- the machining program storage unit 25 stores a machining program used for machining a workpiece (workpiece). In the machining program, the operation content of the machine and the movement path of the blade necessary for machining the workpiece are described in a format that can be decoded by the NC apparatus 1A.
- the machining program storage unit 25 of the present embodiment stores a machining program for each system as one machining program.
- the parameter storage unit 26 stores parameters used for processing the workpiece.
- the parameters stored in the parameter storage unit 26 include data for determining the specifications of the NC device 1A, condition data necessary for machine control, and the like.
- the screen display data storage unit 27 stores data to be displayed on the screen.
- the screen display data storage unit 27 stores various data such as information on the current position of the tool, information on the rotational position of the spindle, the control mode of the NC device 1A, output states of various selection signals, and the like.
- the shared area 28 stores temporary data necessary for analyzing a machining program, temporary data necessary for system control during machine operation control, and the like.
- the screen processing unit 5 is connected to the display unit 42.
- the screen processing unit 5 reads the data in the screen display data storage unit 27 and causes the display unit 42 to display the data.
- the display unit 42 is a display device such as a liquid crystal monitor that displays data instructed by the screen processing unit 5.
- the program analysis unit 3A sequentially reads out the machining programs specified by the input operation unit 41 from the top among the machining programs stored in the machining program storage unit 25.
- the program analysis unit 3A analyzes and executes the machining program according to the processing procedure specified for each NC command.
- the program analysis unit 3A analyzes the machining program while temporarily storing the data being analyzed in the common area 28, and passes the analysis result to the interpolation processing unit 4.
- the program analysis unit 3A of the present embodiment analyzes a machining program for each system and executes a process for each system.
- the program analysis unit 3A of the present embodiment has an exclusive control analysis unit 33.
- the exclusive control analysis unit 33 analyzes the exclusive control variable.
- the exclusive control variable is a command (data) in the machining program used when simultaneously executing a plurality of machining programs.
- the exclusive control analysis unit 33 prohibits access to the common data for other systems in a state where access permission to the common data is given to any system.
- the exclusive control analysis unit 33 repeatedly confirms access permission to the other system that desires access until access to the other system is permitted while access to the common data is prohibited for the other system. Make it.
- the exclusive control analysis unit 33 accesses the common data to any one of the other systems that the access is permitted to after the system that is permitted to access the common data completes the access to the common data. Allow.
- the interpolation processing unit 4 performs an interpolation process such as a straight line or an arc on the relative movement amount obtained from the machining program for each axis (1st axis to nth axis (n is a natural number)).
- the interpolation processing unit 4 sends the relative movement amount subjected to the interpolation processing to the axis data output unit 9 as output data.
- the axis data output unit 9 inputs the interpolated relative movement amount to the spindle amplifier 43 and the servo amplifier 44 of each axis.
- the spindle amplifier 43 causes the spindle motor 45 to perform processing by outputting to the spindle motor 45 drive power corresponding to the relative movement amount subjected to the interpolation processing.
- the servo amplifier 44 causes the servo motor 46 to perform processing by outputting to the servo motor 46 drive power corresponding to the interpolated relative movement amount.
- the machine control signal processing unit 6 reads information related to the control of the machine peripheral device output to the memory 2 by the program analysis unit 3A.
- the machine control signal processing unit 6 outputs the read information to a PLC (Programmable Logic Controller) 7 to give control information to the ladder circuit. Further, the machine control signal processing unit 6 outputs various on / off control signals sent from an external input / output signal I / F (not shown) to the machine side.
- the machine control signal processing unit 6 writes an external signal input from the machine side via the PLC 7 in the shared area 28 in the memory 2. Thereby, the machine control signal processing unit 6 causes the control signal and the external signal to act on the control of the NC apparatus 1A. As a result, the control to the machine proceeds correctly.
- FIG. 2 is a diagram for explaining exclusive control variables used in the NC apparatus 1A according to the first embodiment.
- the exclusive control variable 11 includes a set value storage area 12 for storing a set value and a system bit storage area 13.
- the set value storage area 12 is an area for storing a value to be set for a common command to each system.
- the common command to each system is a command that can store one value (one value between systems) common to each system.
- FIG. 2 shows a case where the exclusive control variable 11 is set to a value of “1” in the exclusive control variable # 3101 which is a common command.
- the system bit storage area 13 is an area for storing a bit (system bit) for each system.
- the system bit indicates whether the exclusive control variable 11 can be set to a value. When the system bit is “0”, it indicates that the system cannot set a value in the exclusive control variable 11, and when the system bit is “1”, it indicates that the system can set a value in the exclusive control variable 11. Show. FIG. 2 shows a state in which “1” is set for the system bit of the first system and “0” is set for the system bit of the other system. In the exclusive control variable 11, a system bit of each system is set for each type of the exclusive control variable 11.
- FIG. 3 is a flowchart showing a processing procedure for setting a value to the exclusive control variable.
- the exclusive control analysis unit 33 When trying to set a value (a value indicating the start of processing) in the exclusive control variable 11 in any system, the exclusive control analysis unit 33 has all the system bits stored in the exclusive control variable 11 being “0”. Or whether the system bit in which the exclusive control variable 11 is executed (started) is “1” (step S1).
- step S2 If all the system bits stored in the exclusive control variable 11 are “0”, or if the system bit in which the exclusive control variable 11 is executed (started) is “1” (Yes in step S1), the exclusive control variable 11 is exclusive.
- the control analysis unit 33 sets a value in the set value storage area 12 of the exclusive control variable 11, and sets the commanded system bit to “1” (step S2).
- the exclusive control analysis unit 33 sets the set value storage area 12. Set the value to. Further, if the first system bit is “0”, the exclusive control analysis unit 33 sets “1” to the system bit. When the first system is executed, even if the first system bit is already “1”, the operation of setting “1” to the system bit is performed.
- step S1, No when trying to set a value in the exclusive control variable 11, if the system bit other than the system that executed the exclusive control variable 11 is "1" (step S1, No), the exclusive control analysis unit 33 No value is set in the set value storage area 12, and the system bit is kept at “0”. For example, if execution of the second system is started and the system bit of the first system is “1”, the exclusive control analysis unit 33 does not set a value in the set value storage area 12 and the second system The system bit is kept “0”.
- the exclusive control analysis unit 33 does not set a value in the exclusive control variable 11 from other systems.
- “0” in order to be able to set a value to the exclusive control variable 11 from another system, “0” must be set to the exclusive control variable 11 in the system in which the value is set.
- FIG. 4 is a flowchart showing a processing procedure for setting “0” to the exclusive control variable.
- the exclusive control analysis unit 33 sets the value of the exclusive control variable 11 to “0” after executing the exclusive control variable 11 in any system and sets the value to “0”. It is confirmed whether or not the system bit of the system to be set is “1” (step S3).
- the exclusive control analysis unit 33 sets “0” to the exclusive control variable 11. Set and set the system bit of the system for which the exclusive control variable 11 is performed to “0” (step S4).
- the exclusive control analysis unit 33 determines that the exclusive control variable 11 and the exclusive control The system bit on which the variable 11 is performed is not changed. For this reason, “1” remains set in the exclusive control variable 11, and the system bit in which the exclusive control variable 11 is performed remains “1”.
- the system bit of the exclusive control variable 11 is “1”. It is permitted to set the value set in the exclusive control variable 11 to “0” only for the systems that are. In other words, only the system that executed the exclusive control variable 11 can set the value set in the exclusive control variable 11 to “0” and set the commanded system bit to “0” as the process of step S4.
- FIG. 5 is a flowchart showing a processing procedure of processing referring to the exclusive control variable.
- the exclusive control analysis unit 33 refers to the value (set value) of the exclusive control variable 11 after executing the exclusive control variable 11 in any system and setting the value, refer to the value of the exclusive control variable 11 It is confirmed whether or not the system bit of the system that is desired is “1” (step S11).
- step S11 When the system bit of the system for which the value of the exclusive control variable 11 is to be referred to is “1” (step S11, Yes), the exclusive control analysis unit 33 returns the value set in the exclusive control variable 11 as a reference value. (Step S12). On the other hand, if the system bit of the system to which the value of the exclusive control variable 11 is to be referred is not “1” (step S11, No), the exclusive control analysis unit 33 returns “0” as the reference value (step S13).
- the exclusive control analysis unit 33 indicates that the system bit is “1”.
- the value (valid) set in the exclusive control variable 11 is returned only to the system that is, and “0” (invalid) is returned to the system where the system bit is “0”.
- the exclusive control analysis unit 33 performs the other system (second system) other than this system.
- the exclusive control variable 11 is invalidated, and when the exclusive control variable 11 is referenced in the machining program of the first system, the exclusive control variable 11 is validated and a set value is returned.
- the exclusive control variable is executed in the machining program of the first system when the exclusive control variable is not executed in the machining program of any system, the exclusive control variable is executed only for the first system. Allow. And even if it tries to execute the exclusive control variable in the machining program of the system other than the first system, the execution of the exclusive control variable is not permitted.
- the NC apparatus 1A sets bits for each system in the exclusive control variable 11, and sets the value of the exclusive control variable 11 in only one system based on the bits for each system. Each exclusive command is possible.
- FIG. 6 is a diagram illustrating an example of a machining program used in the NC device according to the first embodiment.
- FIG. 7 is a flowchart showing an operation processing procedure for each system when the machining program shown in FIG. 6 is executed.
- FIG. 8 is a timing chart of the system bit when the machining program shown in FIG. 6 is executed.
- the machining program 51 is a machining program for controlling the first system
- the machining program 52 is a machining program for controlling the second system.
- the exclusive control variable # 3100 is used. Further, the machining programs 51 and 52 control each system so that the exclusive control variable # 40000 is not simultaneously accessed and overwritten before use. In other words, the exclusive control variable # 3100 is used as the exclusive control variable 11.
- the exclusive control analysis unit 33 executes the processing of the machining programs 51 and 52.
- the exclusive control analysis unit 33 tries to set “1” to the exclusive control variable # 3100 by the second system, it is not set. This is because “1” is set to the exclusive control variable # 3100 from the first system in the process P1, and the system bit of the first system is “1” (valid). For this reason, the value cannot be set to # 3100 in the second system, and the exclusive control variable # 3100 in the second system is “0” (step S41).
- step S41 the system bit of the first system of the exclusive control variable # 3100 is changed from “0” to “1”, and the system bit of the second system of the exclusive control variable # 3100 remains “0”. It is.
- the process P2 is executed, and in the machining program 52 of the second system, the process P12 is executed.
- the exclusive control variable # 3100 is referred to and a value “1” is returned.
- the exclusive control variable # 3100 is referred to and a value of “0” is returned. In other words, when the exclusive control variable # 3100 is referred to by a machining program other than the first system, a value of “0” is returned.
- Step S45 the first system bit of the exclusive control variable # 3100 is changed from “1” to “0”.
- step S45 the exclusive control variable # 3100
- step S45 the second system bit of the exclusive control variable # 3100 is changed from “0” to “1”.
- step S47 data (a value such as 200) is set in the exclusive control variable # 40000 as process P13 (step S47). Further, in the machining program 52 of the second system, an original operation is performed in the second system using the value of # 40000 desired to be used in the set second system (process P14) (step S48).
- step S49 the exclusive control variable # 3100 in which “1” is set as the process P15, and thus the operation unique to the second system is completed ( Step S49).
- step S49 the second system bit of the exclusive control variable # 3100 is changed from “1” to “0”, so that all the system bits are changed to “0”.
- the exclusive control variable # 3100 can be commanded from any system.
- the value can be referred to, changed, or cleared only in the system in which the exclusive control variable is executed first. For this reason, the second system is not executed while the first system is being executed, for example, depending on the operation timing between the systems. Therefore, it is possible to prevent # 40000 from being accessed at the same time or overwritten at an unexpected timing while using the exclusive control variable # 40000 which is common data. Therefore, it is possible to easily prevent each system from becoming a desired operation. This makes it possible to execute an intended operation unique to the system using the machining program.
- a system bit indicating access permission to common data is set for each system, and when access is granted to any system, access to another system is performed. Since no permission is given, simultaneous access to common data and overwriting before use can be prevented. As a result, when simultaneously executing machining programs for a plurality of systems, a desired operation is executed for each system even when a common value is stored between systems using the same command between systems. It becomes possible.
- Embodiment 2 a second embodiment of the present invention will be described with reference to FIGS.
- the machining program is stopped until access is permitted to a system that desires access to common data.
- FIG. 9 is a block diagram showing a configuration of the NC device according to the second embodiment.
- constituent elements in FIG. 9 constituent elements that achieve the same functions as those of the NC apparatus 1A of the first embodiment shown in FIG. 1 are assigned the same numbers, and redundant descriptions are omitted.
- the NC device 1B includes a program analysis unit 3B instead of the program analysis unit 3A as compared with the NC device 1A.
- the program analysis unit 3B has a program stop control unit 34 instead of the exclusive control analysis unit 33.
- the program stop control unit 34 prohibits access to common data for other systems in a state where access permission to common data is given to any system. Specifically, the program stop control unit 34, in a state where access to the common data is prohibited for other systems, the program of other systems that desires access until the other systems are permitted access. Stop. After the system permitted to access the common data completes the access to the common data, the program stop control unit 34 stops the machining program for any one of the other systems that desire access. Release (restart).
- FIG. 10 is a flowchart showing a processing procedure for setting a value to the exclusive control variable.
- the description of the same processing as the data set processing of the first embodiment shown in FIG. 3 is omitted.
- the program stop control unit 34 determines whether all the system bits stored in the exclusive control variable 11 are “0” or the exclusive control variable 11. It is confirmed whether or not the system bit that has started the execution is “1” (step S21).
- step S21 When all the system bits stored in the exclusive control variable 11 are “0”, or when the system bit that has started execution of the exclusive control variable 11 is “1” (step S21, Yes), the program is stopped.
- the control unit 34 sets a value in the exclusive control variable 11 and sets the commanded system bit to “1” (step S22).
- step S21 when trying to set a value in the exclusive control variable 11, if the system bit other than the system that started the execution of the exclusive control variable 11 is "1" (No in step S21), the program stop control unit 34 confirms whether or not all the system bits stored in the exclusive control variable 11 are “0” (step S23).
- step S23, No the program stop control unit 34 sets the value to the exclusive control variable 11 next to the system to be set. Stop machining program without executing command. In other words, when the exclusive control variable is executed, if “1” is already set in the system bit of another system, the machining program is stopped for the system in which a value is to be set in the exclusive control variable 11. .
- step S23, Yes the program stop control unit 34 causes the system that has stopped the machining program to execute the next process. In other words, the program stop control unit 34 restarts the machining program that has been stopped.
- FIG. 11 is a diagram illustrating an example of a machining program used in the NC apparatus according to the second embodiment.
- FIG. 12 is a flowchart showing an operation processing procedure for each system when the machining program shown in FIG. 11 is executed.
- FIG. 13 is a timing chart of the system bit when the machining program shown in FIG. 11 is executed.
- the machining program 61 is a machining program for controlling the first system
- the machining program 62 is a machining program for controlling the second system.
- the exclusive control variable # 3100 is used. Further, the machining programs 61 and 62 control each system so that the exclusive control variable # 40000 is not simultaneously accessed and overwritten before use.
- the program stop control unit 34 executes the processing of the machining programs 61 and 62.
- the program stop control unit 34 stops the machining program 62 for the second system (step S51).
- step S51 the system bit of the first system of the exclusive control variable # 3100 is changed from “0” to “1”, and the system bit of the second system of the exclusive control variable # 3100 remains “0”. It is.
- step S52 In the machining program 61 of the first system, data (value such as 100) is set in the exclusive control variable # 40000 as process P22.
- data value such as 100
- the machining program 62 for the second system since the first system bit of the exclusive control variable # 3100 is “1”, the value cannot be set for the second system, and the machining program 62 is stopped. It remains.
- the system bit of the exclusive control variable # 3100 becomes “0” in the first system, the state where the machining program 62 is stopped is maintained (step S52).
- machining program 61 of the first system an original operation is performed in the first system using the value of # 40000 that is desired to be used in the set first system (Process P23).
- the machining program 62 for the second system the machining program 62 remains stopped (step S53).
- step S24 the operation unique to the first system is completed.
- step S54 the first system bit of the exclusive control variable # 3100 is changed from “1” to “0”.
- step S54 the second system bit of the exclusive control variable # 3100 is changed from “0” to “1”.
- step S55 data (a value such as 200) is set in the exclusive control variable # 40000 as process P32 (step S55). Further, in the machining program 62 for the second system, a unique operation is performed in the second system using the value of # 40000 desired to be used in the set second system (process P33) (step S56).
- step S34 the exclusive control variable # 3100 in which “1” is set as the process P34, whereby the operation unique to the second system is completed (Step S34).
- step S57 the second system bit of the exclusive control variable # 3100 is changed from “1” to “0”, and all the system bits are changed to “0”. Thereafter, the exclusive control variable # 3100 can be commanded from any system.
- the NC apparatus 1B when “1” is set in the system bit in a certain system with respect to the exclusive control variable, when data is set in the exclusive control variable in another system, the data set is set. Stop machining program until possible. Since the machining program is stopped, it is not necessary to create a machining program such as the machining programs 61 and 62 that repeats an operation that does nothing until data can be set for the exclusive control variable. Therefore, programming of a machining program that executes an exclusive operation for each system is facilitated.
- a system bit indicating access permission to common data is set for each system, and access is desired when access permission is given to any system. Stop machining programs of other systems. Thereby, simultaneous access to common data and overwriting before use can be prevented. Therefore, it is possible to execute a desired operation for each system with a simple machining program.
- variables to be set as exclusive control variables are set, for example, as # 3100 and # 3101, the set variables are handled as exclusive control variables, and the variables that are not set are set to normal control. Treat as a variable.
- FIG. 14 is a block diagram illustrating a configuration of the NC device according to the third embodiment.
- the constituent elements shown in FIG. 14 the constituent elements that achieve the same functions as those of the NC device 1A according to the first embodiment shown in FIG.
- the NC device 1C includes a program analysis unit 3C instead of the program analysis unit 3A as compared with the NC device 1A.
- the program analysis unit 3C includes an exclusive control variable specifying unit 35 instead of the exclusive control analysis unit 33.
- a control command variable (exclusive control designation parameter 29) to be designated as an exclusive control variable is set in the parameter storage unit 26 in advance.
- the control variable designated as the exclusive control variable is, for example, the exclusive control variable described in the first and second embodiments. Control variables that are not designated as exclusive control variables in the parameter storage unit 26 are treated as normal control variables.
- the exclusive control variable specifying unit 35 switches whether the control variable to be executed is an exclusive control variable or a normal control variable based on the exclusive control designation parameter 29 set in the parameter storage unit 26. .
- the exclusive control variable specifying unit 35 executes the machining program for the exclusive control variable specified by the exclusive control specifying parameter 29 by the same process as the exclusive control analyzing unit 33 or the program stop control unit 34.
- FIG. 15 is a diagram for explaining exclusive control designation parameter designation processing.
- the NC apparatus 1C displays parameter items such as “exclusive control variable 1” and “exclusive control variable 2” on the display unit 42.
- the operator sets a variable (exclusive control designation parameter 29) to be designated as the exclusive control variable in the parameter item, such as # 3100 and # 3101.
- the operator uses the input operation unit 41 to set a variable to be designated as the exclusive control variable.
- the exclusive control designation parameter 29 designated by the external input from the operator is stored in the parameter storage unit 26.
- the variable set in the exclusive control designation parameter 29 of the parameter storage unit 26 is used as the exclusive control variable.
- FIG. 16 is a diagram illustrating a configuration of the exclusive control variable specifying unit 35.
- the exclusive control variable specifying unit 35 switches between exclusive control and normal control based on the exclusive control designation parameter 29.
- the exclusive control variable specifying unit 35 switches to exclusive control using the exclusive control variable.
- the exclusive control variable specifying unit 35 switches to normal control using a normal control variable.
- the exclusive control designation parameter 29 can be set for a program that is currently created as an exclusive control variable without rewriting the machining program to a new exclusive control variable. It is possible to use the machining program by switching. Therefore, the exclusive control variable described in the first and second embodiments can be easily executed for a machining program currently created as a normal control variable.
- the set variable is handled as the exclusive control variable, and the variable that is not set is set. It can be treated as a normal control variable. Therefore, the exclusive control variable described in the first and second embodiments can be easily executed by switching the exclusive control designation parameter 29 even for a machining program currently created as an exclusive control variable. Become.
- FIG. 17 is a diagram showing an example of a conventional machining program.
- the machining program 71 is a machining program for the first system
- the machining program 72 is a machining program for the second system.
- the condition of the process P51 is not satisfied until # 1709 becomes “0” in the first system, and the processes P51 to P53 are repeated in the second system. While the second system repeats processing P51 to processing P53, in the first system, “16”, which is the value to be used in the first system, is set to # 40000 in the processing P45. Is performed. If # 1709 becomes “0” in process P48 of the first system, the condition of process P51 of the second system is satisfied, and in process P55, this is a value that is desired to be used in the second system for # 40000. 30 "is set. Thereby, an operation unique to the second system is performed. In this way, a unique operation for each system is performed.
- both the process P41 and the process P51 may be executed before executing any one of the process 43 and the process 53. In this case, since # 1709 is “0”, both conditions of the process P41 and the process P51 are satisfied, and as a result, both the process P43 and the process P53 are executed.
- process P43 and process P53 both process P41 and process P51 are already executed even if # 1709 is set to “1”, and therefore, process P43 and process P53 and subsequent processes are not executed exclusively in both systems. .
- # 40000 wants to use different values for the first system and the second system, the value executed later is used. As a result, a desired operation cannot be executed for each system.
- Embodiments 1 to 3 when access permission is given to any system, access permission is not given to other systems, so that simultaneous access to common data and overwriting before use are prevented. Is possible. Therefore, in Embodiments 1 to 3, a desired operation can be executed for each system.
- the numerical control device according to the present invention is suitable for exclusive control for each system.
- 1A to 1C NC device 2 memories, 3A to 3C program analysis section, 6 machine control signal processing section, 9 axis data output section, 11 exclusive control variable, 12 set value storage area, 13 system bit storage area, 25 machining program storage Unit, 26 parameter storage unit, 29 exclusive control designation parameter, 33 exclusive control analysis unit, 34 program stop control unit, 35 exclusive control variable identification unit, 51, 52, 61, 62, 71, 72 machining program.
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)
Abstract
Description
図1は、実施の形態1に係るNC装置の構成を示すブロック図である。NC(Numerical Control)装置(数値制御装置)1Aは、複数の系統を備える多系統の機械の制御を行う装置である。NC装置1Aは、複数の系統が同時に各加工プログラムを実行する際に、系統毎に排他的な動作を行う。NC装置1Aは、メモリ2、プログラム解析部3A、補間処理部4、画面処理部5、機械制御信号処理部6、PLC7、入力制御部8、軸データ出力部9を備えている。
つぎに、図9~図13を用いてこの発明の実施の形態2について説明する。実施の形態2では、共通データにアクセスを望んでいる系統に対し、アクセスが許可されるまで加工プログラムを停止させる。
つぎに、図14および図15を用いてこの発明の実施の形態3について説明する。実施の形態3では、排他制御変数にしたい変数を、例えば、#3100、#3101のように設定しておき、設定された変数を排他制御変数として扱うとともに、設定されていない変数を通常の制御変数として扱う。
Claims (6)
- 系統毎の加工プログラムを記憶するプログラム記憶部と、
前記系統毎の加工プログラムを解析することによって、系統毎に独立して加工プログラムを実行するプログラム解析部と、
を備え、
前記プログラム解析部は、
何れの系統の加工プログラム内でも制御変数を実行していない場合に、何れかの系統の加工プログラム内で制御変数を実行すると、前記実行した系統にのみ前記制御変数の実行を許可するとともに、前記実行した系統以外の他系統の加工プログラム内で前記制御変数を実行しようとしても前記制御変数の実行を許可せず、
前記加工プログラム内で前記制御変数の実行が完了すると、加工プログラムの何れか1つに前記制御変数の実行を許可する、
ことを特徴とする数値制御装置。 - 前記プログラム解析部は、
前記実行した系統にのみ前記制御変数の実行を許可している間は、前記他系統の加工プログラム内で前記制御変数を参照しても前記制御変数を無効として扱い、かつ前記加工プログラム内で前記制御変数を参照した場合には前記制御変数を有効として扱うことを特徴とする請求項1に記載の数値制御装置。 - 前記プログラム解析部は、
前記系統毎に前記制御変数の実行が許可されているか否かを示す許可情報を管理し、
前記許可情報に基づいて、前記有効および前記無効を判断することを特徴とする請求項2に記載の数値制御装置。 - 系統毎の加工プログラムを記憶するプログラム記憶部と、
前記系統毎の加工プログラムを解析することによって、系統毎に独立して加工プログラムを実行するプログラム解析部と、
を備え、
前記プログラム解析部は、
何れの系統の加工プログラム内でも制御変数を実行していない場合に、何れかの系統の加工プログラム内で制御変数を実行すると、前記実行した系統にのみ前記制御変数を実行させ、
前記実行した系統以外の他系統のうち前記制御変数を実行しようとしている系統の加工プログラムを停止し、
前記加工プログラム内で前記制御変数が完了すると、停止させていた加工プログラムの何れか1つを再開させる、
ことを特徴とする数値制御装置。 - 前記プログラム解析部は、
前記系統毎に前記制御変数が実行されているか否かを示す実行情報を管理し、
前記実行情報に基づいて、前記加工プログラムを停止させるか否かを判断することを特徴とする請求項4に記載の数値制御装置。 - 前記系統のうちの前記制御変数の実行を許可する排他制御変数のパラメータを記憶しておくパラメータ記憶部と、
前記制御変数が前記排他制御変数であるか否かを前記パラメータに基づいて判断する排他制御判断部と、
をさらに備え、
前記制御変数が前記排他制御変数である場合には、何れか1つの系統にのみ前記制御変数を実行させることを特徴とする請求項1または4に記載の数値制御装置。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE112013005628.3T DE112013005628B4 (de) | 2013-01-30 | 2013-01-30 | Numerische Steuervorrichtung |
CN201380071777.0A CN104956274B (zh) | 2013-01-30 | 2013-01-30 | 数控装置 |
US14/654,574 US20150346714A1 (en) | 2013-01-30 | 2013-01-30 | Numerical control device |
PCT/JP2013/052083 WO2014118918A1 (ja) | 2013-01-30 | 2013-01-30 | 数値制御装置 |
JP2013524283A JP5456208B1 (ja) | 2013-01-30 | 2013-01-30 | 数値制御装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2013/052083 WO2014118918A1 (ja) | 2013-01-30 | 2013-01-30 | 数値制御装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014118918A1 true WO2014118918A1 (ja) | 2014-08-07 |
Family
ID=50614608
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2013/052083 WO2014118918A1 (ja) | 2013-01-30 | 2013-01-30 | 数値制御装置 |
Country Status (5)
Country | Link |
---|---|
US (1) | US20150346714A1 (ja) |
JP (1) | JP5456208B1 (ja) |
CN (1) | CN104956274B (ja) |
DE (1) | DE112013005628B4 (ja) |
WO (1) | WO2014118918A1 (ja) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019123521A1 (ja) * | 2017-12-18 | 2019-06-27 | 三菱電機株式会社 | 数値制御装置 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5845319B1 (ja) | 2014-06-30 | 2016-01-20 | ファナック株式会社 | アンバランスが少ない送風翼を製造する製造装置及び製造方法 |
WO2017195259A1 (ja) * | 2016-05-09 | 2017-11-16 | 三菱電機株式会社 | 数値制御装置 |
JP6407919B2 (ja) * | 2016-06-15 | 2018-10-17 | ファナック株式会社 | 数値制御装置および変数判定方法 |
JP6532610B2 (ja) * | 2016-08-30 | 2019-06-19 | 三菱電機株式会社 | プログラム編集装置、プログラム編集方法及びプログラム編集プログラム |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01142806A (ja) * | 1987-11-30 | 1989-06-05 | Mitsubishi Electric Corp | 数値制御装置の制御方式 |
JPH1195825A (ja) * | 1997-09-17 | 1999-04-09 | Yaskawa Electric Corp | 数値制御プログラムの実行方法 |
JP2000330615A (ja) * | 1999-05-25 | 2000-11-30 | Toyoda Mach Works Ltd | 多系統数値制御装置のヒューマン・マシン・インターフェース |
JP2003186514A (ja) * | 2001-12-14 | 2003-07-04 | Mitsubishi Electric Corp | 数値制御装置 |
JP2004139232A (ja) * | 2002-10-16 | 2004-05-13 | Fanuc Ltd | 数値制御装置 |
Family Cites Families (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4412283A (en) * | 1980-05-30 | 1983-10-25 | Fairchild Camera & Instrument Corp. | High performance microprocessor system |
JP2824921B2 (ja) * | 1989-12-26 | 1998-11-18 | 株式会社安川電機 | 多系列制御nc装置 |
US5237694A (en) * | 1991-05-30 | 1993-08-17 | Advanced Micro Devices, Inc. | Processing system and method including lock buffer for controlling exclusive critical problem accesses by each processor |
US5453933A (en) | 1993-09-08 | 1995-09-26 | Hurco Companies, Inc. | CNC control system |
JP3872118B2 (ja) * | 1995-03-20 | 2007-01-24 | 富士通株式会社 | キャッシュコヒーレンス装置 |
CA2199108C (en) * | 1996-03-05 | 2002-04-23 | Hirotoshi Maegawa | Parallel distributed processing system and method of same |
CN1498472A (zh) * | 2001-02-06 | 2004-05-19 | ���﹫˾ | 用于实时自适应容量调度的系统与方法 |
US7114157B2 (en) * | 2001-11-27 | 2006-09-26 | Kuka Roboter Gmbh | System controlling exclusive access by control programs to system resources |
JP2003196306A (ja) * | 2001-12-28 | 2003-07-11 | Canon Inc | 画像検索装置及びその方法、プログラム |
US7237236B2 (en) * | 2002-08-22 | 2007-06-26 | International Business Machines Corporation | Method and apparatus for automatically determining optimum placement of privileged code locations in existing code |
DE10394189T5 (de) * | 2003-03-17 | 2006-02-02 | Mitsubishi Denki K.K. | Numeriksteuersystem |
JP4376692B2 (ja) * | 2004-04-30 | 2009-12-02 | 富士通株式会社 | 情報処理装置、プロセッサ、プロセッサの制御方法、情報処理装置の制御方法、キャッシュメモリ |
JP4127315B2 (ja) * | 2006-05-24 | 2008-07-30 | 株式会社日立製作所 | デバイス管理システム |
JPWO2008010264A1 (ja) * | 2006-07-18 | 2009-12-10 | 三菱電機株式会社 | 数値制御装置 |
JP2010113700A (ja) * | 2008-10-07 | 2010-05-20 | Yokogawa Electric Corp | フィールドデバイス |
JP2010157595A (ja) * | 2008-12-26 | 2010-07-15 | Panasonic Corp | 半導体装置およびその製造方法 |
JP5555422B2 (ja) * | 2008-12-26 | 2014-07-23 | 株式会社アマダ | 数値制御装置及び数値制御方法 |
JP2011232956A (ja) * | 2010-04-27 | 2011-11-17 | Clarion Co Ltd | コンピュータシステムとプログラム |
US8532291B2 (en) * | 2010-09-10 | 2013-09-10 | Hitachi Consumer Electronics Co., Ltd. | Copy control method |
US9002890B2 (en) * | 2012-03-14 | 2015-04-07 | International Business Machines Corporation | Rule-based access control list management |
-
2013
- 2013-01-30 CN CN201380071777.0A patent/CN104956274B/zh active Active
- 2013-01-30 DE DE112013005628.3T patent/DE112013005628B4/de active Active
- 2013-01-30 JP JP2013524283A patent/JP5456208B1/ja active Active
- 2013-01-30 WO PCT/JP2013/052083 patent/WO2014118918A1/ja active Application Filing
- 2013-01-30 US US14/654,574 patent/US20150346714A1/en not_active Abandoned
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01142806A (ja) * | 1987-11-30 | 1989-06-05 | Mitsubishi Electric Corp | 数値制御装置の制御方式 |
JPH1195825A (ja) * | 1997-09-17 | 1999-04-09 | Yaskawa Electric Corp | 数値制御プログラムの実行方法 |
JP2000330615A (ja) * | 1999-05-25 | 2000-11-30 | Toyoda Mach Works Ltd | 多系統数値制御装置のヒューマン・マシン・インターフェース |
JP2003186514A (ja) * | 2001-12-14 | 2003-07-04 | Mitsubishi Electric Corp | 数値制御装置 |
JP2004139232A (ja) * | 2002-10-16 | 2004-05-13 | Fanuc Ltd | 数値制御装置 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019123521A1 (ja) * | 2017-12-18 | 2019-06-27 | 三菱電機株式会社 | 数値制御装置 |
US10921783B2 (en) | 2017-12-18 | 2021-02-16 | Mitsubishi Electric Corporation | Numerical control device |
Also Published As
Publication number | Publication date |
---|---|
DE112013005628T5 (de) | 2015-08-27 |
JPWO2014118918A1 (ja) | 2017-01-26 |
JP5456208B1 (ja) | 2014-03-26 |
DE112013005628B4 (de) | 2018-06-28 |
CN104956274B (zh) | 2016-11-09 |
CN104956274A (zh) | 2015-09-30 |
US20150346714A1 (en) | 2015-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5456208B1 (ja) | 数値制御装置 | |
WO2003067345A1 (fr) | Procede et systeme de commande numerique | |
JP6411992B2 (ja) | ハンドル操作に応じてncプログラムを実行する機能において、プログラム実行状態を確認する手段を備えた数値制御装置 | |
JPH103307A (ja) | 数値制御装置 | |
JP2009122852A (ja) | パステーブル運転時の運転履歴を記憶する数値制御装置 | |
JP2735209B2 (ja) | 数値制御装置 | |
JPH09128255A (ja) | プログラマブル論理制御器 | |
JP7448377B2 (ja) | 加工プログラムの管理装置、管理システム、管理方法 | |
JP4562591B2 (ja) | 工具軌跡描画方法及び装置 | |
JP7088820B2 (ja) | 数値制御装置 | |
US10671053B2 (en) | Numerical controller and machine tool system | |
JP2000089813A (ja) | 加工プログラム編集方法および工作機械の制御装置 | |
JP4549051B2 (ja) | 工作機械の軸制御装置、工作機械の軸制御プログラム | |
WO2023026373A1 (ja) | 数値制御システム | |
JP4036151B2 (ja) | 数値制御装置及び数値制御方法 | |
JP4379711B2 (ja) | プログラマブルコントローラ用機器 | |
JP7183488B1 (ja) | 加工プログラム作成装置および加工プログラム作成方法 | |
JPH1011120A (ja) | 系統間軸交換制御機能を有する多系統数値制御装置 | |
JP2005182581A (ja) | サーボ制御装置およびサーボ制御切替え方法 | |
JP3308781B2 (ja) | プログラマブルコントローラ | |
WO2024105842A1 (ja) | 工作機械の制御装置 | |
JPH11110023A (ja) | プログラム変数指令機能を備えた数値制御装置 | |
JP5300691B2 (ja) | 数値制御装置 | |
JP3890462B2 (ja) | 設備の動作制御装置およびその方法 | |
JP4208600B2 (ja) | Nc工作機械 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2013524283 Country of ref document: JP Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13873717 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1120130056283 Country of ref document: DE Ref document number: 112013005628 Country of ref document: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 14654574 Country of ref document: US |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 13873717 Country of ref document: EP Kind code of ref document: A1 |