WO2023199408A1 - 数値制御装置およびコンピュータ読み取り可能な記憶媒体 - Google Patents

数値制御装置およびコンピュータ読み取り可能な記憶媒体 Download PDF

Info

Publication number
WO2023199408A1
WO2023199408A1 PCT/JP2022/017615 JP2022017615W WO2023199408A1 WO 2023199408 A1 WO2023199408 A1 WO 2023199408A1 JP 2022017615 W JP2022017615 W JP 2022017615W WO 2023199408 A1 WO2023199408 A1 WO 2023199408A1
Authority
WO
WIPO (PCT)
Prior art keywords
axis
axis configuration
control
unit
control device
Prior art date
Application number
PCT/JP2022/017615
Other languages
English (en)
French (fr)
Inventor
拓磨 大倉
国博 本間
徹 久保田
Original Assignee
ファナック株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ファナック株式会社 filed Critical ファナック株式会社
Priority to PCT/JP2022/017615 priority Critical patent/WO2023199408A1/ja
Publication of WO2023199408A1 publication Critical patent/WO2023199408A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form

Definitions

  • the present disclosure relates to a numerical control device and a computer-readable storage medium.
  • Patent Document 1 discloses that an axis removal setting or an axis allocation setting is performed by specifying a predetermined command in one block of a machining program used in a certain system. There is.
  • An axis configuration memory in which the numerical control device stores a plurality of axis configuration patterns indicating axis configurations of at least one first control axis belonging to the first system and at least one second control axis belonging to the second system. and a setting unit configured to set the axis configuration according to one of the plurality of axis configuration patterns stored in the axis configuration storage unit.
  • a computer-readable storage medium stores a plurality of axis configuration patterns indicating axis configurations of at least one first control axis belonging to the first system and at least one second control axis belonging to the second system. and setting the axis configuration according to one axis configuration pattern among the plurality of stored axis configuration patterns.
  • the axis configuration of control axes in multiple systems can be easily changed.
  • FIG. 1 is a diagram showing an example of a hardware configuration of an industrial machine. It is a block diagram showing an example of the function of a numerical control device. It is a figure which shows an example of the axis structure pattern which an axis structure memory
  • FIG. 7 is a diagram illustrating an example of another axis configuration pattern stored in an axis configuration storage unit.
  • FIG. 7 is a diagram illustrating an example of another axis configuration pattern stored in an axis configuration storage unit.
  • FIG. 3 is a diagram illustrating a newly set axis configuration. It is a figure showing an example of the flow of processing performed in a numerical control device.
  • FIG. 2 is a block diagram illustrating an example of functions of a numerical control device including an operation determining section.
  • FIG. 3 is a diagram showing an example of an axis configuration pattern.
  • FIG. 3 is a diagram showing that an identification number is assigned to a system variable.
  • FIG. 3 is a diagram for explaining a first axis configuration pattern. It is a figure showing an example of the function of a numerical control device provided with a pattern update part.
  • FIG. 3 is a diagram showing an example of a machining program including an update command. It is a figure which shows an example of the 1st axis structure pattern after a change.
  • a numerical control device is a control device that controls industrial machinery.
  • Industrial machines are, for example, machine tools, electrical discharge machines, and industrial robots.
  • Machine tools are, for example, machining centers, lathes, and multitasking machines.
  • the electrical discharge machine is, for example, a wire electrical discharge machine or a die-sinking electrical discharge machine.
  • the industrial robot is, for example, a manipulator.
  • FIG. 1 is a diagram showing an example of the hardware configuration of an industrial machine.
  • the industrial machine 1 includes a numerical control device 2, an input/output device 3, a servo amplifier 4, a servo motor 5, a spindle amplifier 6, a spindle motor 7, and an auxiliary device 8.
  • the numerical control device 2 is a control device that controls the entire industrial machine 1.
  • the numerical control device 2 includes a hardware processor 201 , a bus 202 , a ROM (Read Only Memory) 203 , a RAM (Random Access Memory) 204 , and a nonvolatile memory 205 .
  • the hardware processor 201 is a processor that controls the entire numerical control device 2 according to a system program.
  • the hardware processor 201 reads a system program stored in the ROM 203 via the bus 202, and performs various processes based on the system program.
  • Hardware processor 201 controls servo motor 5 and spindle motor 7 based on a machining program.
  • the hardware processor 201 is, for example, a CPU (Central Processing Unit) or an electronic circuit.
  • the hardware processor 201 analyzes a machining program and outputs control commands to the servo motor 5 and spindle motor 7, for example, every control cycle.
  • the bus 202 is a communication path that connects each piece of hardware within the numerical control device 2 to each other. Each piece of hardware within the numerical control device 2 exchanges data via a bus 202.
  • the ROM 203 is a storage device that stores system programs and the like for controlling the entire numerical control device 2.
  • ROM 203 is a computer readable storage medium.
  • the RAM 204 is a storage device that temporarily stores various data.
  • the RAM 204 functions as a work area for the hardware processor 201 to process various data.
  • the nonvolatile memory 205 is a storage device that retains data even when the industrial machine 1 is powered off and the numerical control device 2 is not supplied with power.
  • Nonvolatile memory 205 stores, for example, machining programs and various parameters.
  • Non-volatile memory 205 is a computer readable storage medium.
  • the non-volatile memory 205 is configured with, for example, battery-backed memory or an SSD (Solid State Drive).
  • the numerical control device 2 further includes an interface 206, an axis control circuit 207, a spindle control circuit 208, a PLC (Programmable Logic Controller) 209, and an I/O unit 210.
  • an interface 206 an interface 206, an axis control circuit 207, a spindle control circuit 208, a PLC (Programmable Logic Controller) 209, and an I/O unit 210.
  • PLC Programmable Logic Controller
  • the interface 206 connects the bus 202 and the input/output device 3.
  • the interface 206 sends various data processed by the hardware processor 201 to the input/output device 3, for example.
  • the input/output device 3 receives various data via the interface 206 and displays the various data.
  • the input/output device 3 also receives input of various data and sends the various data to, for example, the hardware processor 201 via the interface 206.
  • the input/output device 3 is, for example, a touch panel.
  • the input/output device 3 is, for example, a capacitive touch panel.
  • the touch panel is not limited to a capacitive type, and may be a touch panel of another type.
  • the input/output device 3 is installed on an operation panel (not shown) in which the numerical control device 2 is housed.
  • the axis control circuit 207 is a circuit that controls the servo motor 5.
  • the axis control circuit 207 receives control commands from the hardware processor 201 and sends various commands for driving the servo motor 5 to the servo amplifier 4.
  • the axis control circuit 207 sends a torque command for controlling the torque of the servo motor 5 to the servo amplifier 4, for example.
  • the servo amplifier 4 receives a command from the axis control circuit 207 and supplies current to the servo motor 5.
  • the servo motor 5 is driven by receiving current from the servo amplifier 4.
  • Servo motor 5 is provided on each control axis of industrial machine 1 .
  • the servo motor 5 is, for example, an X-axis servo motor, a Y-axis servo motor, a Z-axis servo motor, an A-axis servo motor, and a C-axis servo motor. Including motor.
  • the axis control circuit 207 and the servo amplifier 4 are provided for each servo motor 5, respectively.
  • the servo motor 5 is connected to, for example, a ball screw that drives a tool rest. By driving the servo motor 5, structures of the industrial machine 1, such as a tool post, move in the direction of a predetermined control axis.
  • the servo motor 5 has a built-in encoder (not shown) that detects the position of the control axis and the feed rate. Position feedback information and speed feedback information indicating the position of the control axis detected by the encoder and the feed rate of the control axis, respectively, are fed back to the axis control circuit 207. Thereby, the axis control circuit 207 performs feedback control of the control axis.
  • the spindle control circuit 208 is a circuit for controlling the spindle motor 7.
  • the spindle control circuit 208 receives a control command from the hardware processor 201 and sends a command for driving the spindle motor 7 to the spindle amplifier 6.
  • the spindle control circuit 208 sends a spindle speed command for controlling the rotational speed of the spindle motor 7 to the spindle amplifier 6, for example.
  • the spindle amplifier 6 receives a command from the spindle control circuit 208 and supplies current to the spindle motor 7.
  • the spindle motor 7 is driven by receiving current from the spindle amplifier 6.
  • the spindle motor 7 is connected to the main shaft and rotates the main shaft.
  • the PLC 209 is a device that executes a ladder program to control the auxiliary equipment 8. PLC 209 sends commands to auxiliary equipment 8 via I/O unit 210.
  • the I/O unit 210 is an interface that connects the PLC 209 and the auxiliary equipment 8.
  • the I/O unit 210 sends the command received from the PLC 209 to the auxiliary device 8.
  • the auxiliary equipment 8 is installed in the industrial machine 1 and is a device that performs auxiliary operations in the industrial machine 1. Auxiliary equipment 8 operates based on instructions received from I/O unit 210. The auxiliary equipment 8 may be equipment installed around the industrial machine 1. The auxiliary equipment 8 is, for example, a tool changer, a cutting fluid injection device, or an opening/closing door drive device.
  • FIG. 2 is a block diagram showing an example of the functions of the numerical control device 2.
  • the numerical control device 2 includes a program storage section 21 , an analysis section 22 , a control section 23 , an axis configuration storage section 24 , a setting section 25 , an axis configuration setting storage section 26 , and a command reception section 27 .
  • the program storage section 21, the axis configuration storage section 24, and the axis configuration setting storage section 26 are realized by storing machining programs and various data in the RAM 204 or the nonvolatile memory 205.
  • the analysis unit 22 , the control unit 23 , the setting unit 25 , and the command reception unit 27 are configured so that, for example, the hardware processor 201 uses the system program stored in the ROM 203 and various data stored in the nonvolatile memory 205 . This is realized through arithmetic processing.
  • the program storage unit 21 stores programs.
  • the program is, for example, a machining program used for machining with a machine tool.
  • the program may be an operation program that instructs the operation of the manipulator.
  • the analysis unit 22 reads and analyzes the program stored in the program storage unit 21.
  • the analysis unit 22 reads G code, M code, F code, T code, etc. written in the machining program and analyzes the meaning of each code.
  • the control unit 23 executes control of the control axes of the industrial machine 1 based on the machining program analyzed by the analysis unit 22.
  • the control unit 23 controls the control axes to process the workpiece.
  • the axis configuration storage unit 24 stores a plurality of control axis patterns indicating axis configurations of control axes belonging to a plurality of systems, respectively.
  • the axis configuration pattern is information indicating which control axis belongs to which system.
  • the axis configuration pattern is information indicating control axes that constitute each of the plurality of systems.
  • the plurality of systems includes at least a first system and a second system. At least one control axis belongs to each system. Further, the axis configuration storage unit 24 stores a plurality of axis configuration patterns. That is, the axis configuration storage unit 24 stores a plurality of axis configuration patterns indicating the axis configurations of at least one first control axis belonging to the first system and at least one second control axis belonging to the second system. do.
  • a system is a group of axes controlled by one machining program. For example, in a lathe having an upper tool rest, a lower tool rest, a first spindle, and a second main spindle, when the upper tool rest and the first spindle are controlled based on a first machining program, the upper tool rest and the first main axis belongs to the first system. Further, when the lower tool rest and the second main spindle are controlled based on the second machining program, the lower tool rest and the second main spindle belong to the second system.
  • one machining program described above may include one or more subprograms.
  • the axes may include control axes such as the X-axis, Y-axis, Z-axis, A-axis, B-axis, and C-axis, and the main axis.
  • FIG. 3 is a diagram showing an example of an axis configuration pattern stored in the axis configuration storage unit 24.
  • the axis configuration pattern shown in FIG. 3 will be referred to as an initial axis configuration pattern.
  • the initial state is, for example, the state of the shaft configuration that is set when the numerical control device 2 is manufactured and shipped.
  • At least one control axis belonging to each system is identified by an axis name and an identification number.
  • the axis name is used, for example, when specifying a control axis in a machining program.
  • the identification number is a unique number assigned to each of the plurality of control axes of the industrial machine.
  • the plurality of systems includes, for example, a first system, a second system, and a third system.
  • control axes with axis names "X1," "Y1,” and “Z1" belong to the first system.
  • the identification numbers of "X1", “Y1” and “Z1” are "101", "102” and "103", respectively.
  • the last two digits of the identification number indicate the axis number within the system to which the control axis belongs in the initial state.
  • the third digit indicates the number of the system to which the control axis belongs in the initial state.
  • the identification number "101" indicates that it is the 01st control axis of the first system.
  • Control axes with axis names "X2", “Y2”, and “Z2" belong to the second system.
  • the identification numbers of "X2", “Y2” and “Z2” are "201", “202” and “203”, respectively.
  • the identification number "201" indicates that it is the 01st control axis of the second system.
  • the control axes with axis names "X3", “Y3”, and “Z3” belong to the third system.
  • the identification numbers of "X3", “Y3” and “Z3” are "301", “302” and "303", respectively.
  • the identification number "301” indicates that it is the 01st control axis of the third system.
  • FIGS. 4A and 4B are diagrams showing other axis configuration patterns stored in the axis configuration storage unit 24.
  • the other axis configuration patterns are axis configuration patterns other than the initial axis configuration pattern.
  • the axis configuration pattern shown in FIG. 4A will be referred to as a first axis configuration pattern
  • the axis configuration pattern shown in FIG. 4B will be referred to as a second axis configuration pattern.
  • the second axis configuration pattern is an axis configuration pattern in which "X1" of the first system and "X2" of the second system in the initial state axis configuration pattern are swapped. That is, “X2", “Y1", and “Z1” belong to the first system of the second axis configuration pattern. “X1”, “Y2” and “Z2” belong to the second system. “X3”, “Y3” and “Z3” belong to the third system.
  • the setting unit 25 sets the axis configuration according to one of the multiple axis configuration patterns stored in the axis configuration storage unit 24.
  • the setting unit 25 sets the axis configuration by storing the axis configuration pattern in the axis configuration setting storage unit 26.
  • the axis configuration setting storage unit 26 stores the axis configuration set by the setting unit 25.
  • the axis configuration setting storage unit 26 holds the set axis configuration until the axis configuration is changed by the setting unit 25.
  • the setting unit 25 sets the axis configuration, for example, according to the axis configuration pattern in the initial state.
  • the command reception unit 27 receives a change command to change the set axis configuration.
  • the change command is, for example, a command specified in a machining program.
  • FIG. 5 is a diagram showing an example of a machining program.
  • the machining programs include a first system of machining programs, a second system of machining programs, and a third system of machining programs.
  • a change command is specified in the machining program of the second system.
  • the change command may be specified in the machining program of any one of the plurality of systems.
  • the change command is, for example, "G52.4P1".
  • G52.4 is a G code that commands a change in axis configuration.
  • P is a code that specifies the axis configuration pattern. That is, "G52.4P1" is a change command that specifies changing the axis configuration set in the axis configuration setting storage unit 26 to the axis configuration indicated by the first axis configuration pattern.
  • the setting unit 25 sets the axis configuration according to another axis configuration pattern different from the one axis configuration pattern that has been set, in response to the command reception unit 27 receiving the change command.
  • the setting unit 25 changes the axis configuration indicated by the initial axis configuration pattern to the axis configuration indicated by the first axis configuration pattern. In other words, the setting unit 25 newly sets the axis configuration.
  • FIG. 6 is a diagram explaining the newly set axis configuration.
  • the axis configuration is changed from the axis configuration indicated by the initial axis configuration pattern to the first axis configuration pattern. Specifically, "Y1" belonging to the first system and “Y2" belonging to the second system are swapped, and "Z3" belonging to the third system is moved to the first system.
  • the control unit 23 controls each control axis based on the newly set axis configuration.
  • the control unit 23 controls control axes with axis names "X1", “Y2”, “Z1", and “Z3” based on the first system machining program.
  • the control unit 23 controls the control axes with axis names "X2", “Y1”, and “Z2” based on the machining program of the second system.
  • the control unit 23 controls the control axes with axis names "X3" and "Y3" based on the machining program of the third system.
  • FIG. 7 is a flowchart showing an example of the flow of processing executed by the numerical control device 2. As shown in FIG.
  • the setting unit 25 sets the axis configuration according to the axis configuration pattern in the initial state (step S1).
  • step S2 when execution of the machining program is started, the analysis unit 22 starts analyzing the machining program (step S2).
  • control unit 23 controls the control axes based on the machining program analyzed by the analysis unit 22 (step S3).
  • the setting unit 25 changes the axis configuration (step S4 and step S5).
  • control unit 23 controls the control axes based on the changed axis configuration (step S6), and ends the process.
  • the numerical control device 2 has a plurality of axis configurations including the axis configuration of at least one first control axis belonging to the first system and at least one second control axis belonging to the second system. It includes an axis configuration storage section 24 that stores patterns, and a setting section 25 that sets the axis configuration according to one of the plurality of axis configuration patterns stored in the axis configuration storage section 24.
  • the numerical control device 2 can quickly change the axis configuration of a plurality of control axes belonging to a plurality of systems. For example, even in a multi-system system having 10 systems, the numerical control device 2 can change the axis configuration by a change command written in one block of a machining program for any system. In other words, the operator does not need to write change commands in each machining program of a plurality of systems. Further, the operator does not need to sequentially write multiple change commands for changing the axis configurations of the multiple control axes in the machining program. Therefore, the burden on the operator in creating a machining program can be reduced. Furthermore, it is possible to reduce the occurrence of errors in creating machining programs.
  • the numerical control device 2 further includes a command reception unit 27 that receives a change command to change the set axis configuration, and in response to the command reception unit 27 receiving the change command, the setting unit 25
  • the axis configuration is set according to another axis configuration pattern different from the one axis configuration pattern.
  • the change command is a command specified by the machining program.
  • change commands are specified in one block. Therefore, the processing time for the numerical control device 2 to analyze and process the change command can be shortened. As a result, the cycle time when the machining program is executed can be shortened.
  • the numerical control device 2 may further include an operation determining unit that determines whether at least one of the first control axis and the second control axis is in operation.
  • the operation determination unit is realized, for example, by the hardware processor 201 performing arithmetic processing using a system program stored in the ROM 203 and various data stored in the nonvolatile memory 205.
  • FIG. 8 is a block diagram illustrating an example of the functions of the numerical control device 2 including an operation determining section.
  • the operation determination unit 28 determines whether at least one of the first control axis and the second control axis is in operation.
  • the operation determination unit 28 determines whether at least one of the first control axis and the second control axis is in operation based on a command output from the control unit 23 to the servo amplifier 4, for example. do.
  • the operation determination unit 28 determines whether at least one of the first control axis and the second control axis is in operation based on at least one of the position feedback information and the speed feedback information. Good too.
  • the setting unit 25 cancels or suspends changing the axis configuration.
  • the control unit 23 moves the X1 axis to 100.0 in the first system, moves the Y2 axis to 100.0 in the second system, and moves the Y2 axis to 100.0 in the third system.
  • Execution of change command "G52.4P1" specified by sequence number N11 is suspended until the X3 axis is moved to 100.0.
  • the control unit 23 performs waiting control until the execution of the command specified by the sequence number N10 of each system is completed.
  • the setting unit 25 changes the axis configuration.
  • the setting section 25 changes the axis configuration. That is, after the operations of the first control axis and the second control axis are stopped, the setting unit 25 sets the axis configuration. Thereby, it is possible to prevent problems caused by changes in the axis configuration during the operation of each control axis.
  • the setting unit 25 newly sets the axis configuration based on a change command specified in one block of the machining program.
  • the setting unit 25 may change the axis configuration based not only on the change command specified in the machining program but also on a signal output from the numerical control device 2. That is, the change command may be a predetermined signal. For example, when a predetermined switch on the operation panel of the numerical control device 2 is operated, a predetermined signal is output. Thereby, the setting unit 25 can change the axis configuration according to the axis configuration pattern specified by the signal.
  • the plurality of axis configuration patterns stored in the axis configuration storage unit 24 may include an interrupted axis configuration pattern that is set when the operations of the first control axis and the second control axis are interrupted.
  • the interruption is, for example, when the machining program is terminated midway through execution due to pressing of a reset button on the operation panel.
  • the interrupted axis configuration pattern is, for example, the axis configuration pattern in the initial state.
  • the interrupted axis configuration pattern may be an axis configuration pattern that is set when the numerical control device 2 is powered on.
  • the interrupted axis configuration pattern may be the axis configuration pattern that was set immediately before the interruption.
  • the interrupted axis configuration pattern may be any predetermined axis configuration pattern.
  • the setting unit 25 sets the axis configuration according to the interrupted axis configuration pattern in response to the command reception unit 27 receiving an interruption command that instructs interruption of the operation of the first control axis and the second control axis.
  • FIG. 9 is a diagram showing an example of an axis configuration pattern that is set in response to the command reception unit 27 receiving the interruption command.
  • the setting unit 25 sets the axis configuration according to the axis configuration pattern in the initial state, for example, in response to the command reception unit 27 receiving the interruption command. Therefore, when the axis configuration is set according to the first axis configuration pattern, the setting unit 25 distinguishes "Y2" set for the first system and "Y1" set for the second system. Replace. Further, the setting unit 25 moves "Z3" that was set in the first system to the third system.
  • the axis configuration storage unit 24 may store a plurality of axis configuration patterns by storing identification numbers assigned to system variables. For example, in the numerical control device 2, system variables are assigned in advance to each control axis of each system, and the axis configuration storage unit 24 stores the identification number assigned to each system variable.
  • FIG. 10 is a diagram for explaining the axis configuration pattern.
  • FIG. 10 is a diagram showing that identification numbers are assigned to system variables.
  • system variables "#001" to “#050” are assigned to control axes belonging to the first system.
  • system variables “#051” to “#100” are assigned to control axes belonging to the second system.
  • system variables “#101” to “#150” are assigned to control axes belonging to the third system.
  • identification numbers "101" to “103” are assigned to the system variables "#001" to “#003” assigned to the first system, respectively.
  • identification numbers "201” to “203” are assigned to system variables “#054" to “#056” assigned to the second system, respectively.
  • identification numbers "301” to “303” are assigned to system variables "#107” to "#109” assigned to the third system, respectively.
  • FIG. 10 shows the axis configuration pattern in the initial state.
  • FIG. 11 is a diagram for explaining the first axis configuration pattern.
  • the system variables “#010”, “#012”, “#014”, and “#018” assigned to the first system have the identification numbers “101”, “103”, “202”, and and "303" is substituted.
  • the identification numbers “102”, “201”, and “203” are assigned to the system variables "#061”, “#063”, and "#065" assigned to the second system, respectively.
  • the identification numbers "301” and "302" are assigned to the system variables "#116" and "#117” assigned to the third system, respectively.
  • a predetermined identification number is similarly assigned to the system variable for the second axis configuration pattern.
  • the setting unit 25 reads system variables corresponding to any one of a plurality of axis configuration patterns including an initial axis configuration pattern, a first axis configuration pattern, and a second axis configuration pattern, and sets the axis.
  • the axis configuration is set by storing it in the configuration setting storage unit 26.
  • the numerical control device 2 may include a pattern updating unit that updates any axis configuration pattern included in the plurality of axis configuration patterns stored in the axis configuration storage unit 24.
  • the pattern update unit is realized, for example, by the hardware processor 201 performing arithmetic processing using the system program stored in the ROM 203 and various data stored in the nonvolatile memory 205.
  • FIG. 12 is a diagram showing an example of the functions of the numerical control device 2 equipped with a pattern update section.
  • the numerical control device 2 shown in FIG. 12 differs from the numerical control device 2 shown in FIG. 8 in that it includes a pattern update section 29. Therefore, here, the pattern update unit 29 and the functions related thereto will be explained, and the explanation of the same functions as those explained using FIG. 8 will be omitted.
  • the pattern update unit 29 updates any axis configuration pattern included in the plurality of axis configuration patterns stored in the axis configuration storage unit 24.
  • the pattern update unit 29 updates one of the axis configuration patterns stored in the axis configuration storage unit 24, for example, in response to the command reception unit 27 receiving an update command to update the axis configuration pattern.
  • FIG. 13 is a diagram showing an example of a machining program including an update command.
  • the update command shown in FIG. 13 adds "Z2" to the first system of the first axis configuration pattern shown in FIG. 11, deletes "Z3", and deletes "Z2" of the second system. This is an update command to add "Z3" to the third system.
  • FIG. 14 is a diagram showing the changed first axis configuration pattern.
  • the update command may be specified in other than the machining program.
  • the update command may be input from the operation panel.
  • a predetermined signal is output from the numerical control device 2
  • the numerical control device 2 may store a plurality of tables for setting identification numbers to system variables. For example, the numerical control device 2 may read any one of the plurality of tables based on an operator's operation. As a result, the identification number set in the table is set in the system variable. As a result, multiple axis configuration patterns can be updated with a single operation.

Abstract

数値制御装置が、第1の系統に属する少なくとも1つの第1の制御軸および第2の系統に属する少なくとも1つの第2の制御軸の軸構成を示す複数の軸構成パターンを記憶する軸構成記憶部と、軸構成記憶部に記憶された複数の軸構成パターンのうちの1つの軸構成パターンに従って軸構成を設定する設定部と、を備える。

Description

数値制御装置およびコンピュータ読み取り可能な記憶媒体
 本開示は、数値制御装置およびコンピュータ読み取り可能な記憶媒体に関する。
 従来、複数の系統をそれぞれ互いに異なる加工プログラムによって制御する数値制御装置が知られている。複数の系統にそれぞれ含まれる複数の制御軸の軸構成は、所定の指令に基づいて変更される。例えば、特許文献1には、ある系統において用いられる加工プログラムの1つのブロックにおいてあらかじめ定められた指令が指定されることにより、軸の取り外し設定、または軸の割り付け設定が行われることが開示されている。
特開2010-211566号公報
 しかし、従来は、加工プログラムの1つのブロックにおいて1つの制御軸の取り外し、または軸の割り付けの設定しかできなかった。そのため、複数の制御軸の軸構成を変更するには、複数のブロックに渡って順次、軸構成の変更指令を指定する必要があり、これがオペレータにとって大きな負担となっている。そのため、複数の系統における制御軸の軸構成を容易に変更する技術が求められている。
 数値制御装置が、第1の系統に属する少なくとも1つの第1の制御軸および第2の系統に属する少なくとも1つの第2の制御軸の軸構成を示す複数の軸構成パターンを記憶する軸構成記憶部と、軸構成記憶部に記憶された複数の軸構成パターンのうちの1つの軸構成パターンに従って軸構成を設定する設定部と、を備える。
 コンピュータ読み取り可能な記憶媒体が、第1の系統に属する少なくとも1つの第1の制御軸および第2の系統に属する少なくとも1つの第2の制御軸の軸構成を示す複数の軸構成パターンを記憶することと、記憶された複数の軸構成パターンのうちの1つの軸構成パターンに従って軸構成を設定することと、をコンピュータに実行させる命令を記憶する。
 本開示の一態様により、複数の系統における制御軸の軸構成を容易に変更することができる。
産業機械のハードウェア構成の一例を示す図である。 数値制御装置の機能の一例を示すブロック図である。 軸構成記憶部が記憶する軸構成パターンの一例を示す図である。 軸構成記憶部が記憶する他の軸構成パターンの一例を示す図である。 軸構成記憶部が記憶する他の軸構成パターンの一例を示す図である。 加工プログラムの一例を示す図である。 新たに設定された軸構成について説明する図である。 数値制御装置において実行される処理の流れの一例を示す図である。 動作判断部を備えた数値制御装置の機能の一例を示すブロック図である。 軸構成パターンの一例を示す図である。 システム変数に識別番号が代入されていることを示す図である。 第1の軸構成パターンについて説明するための図である。 パターン更新部を備えた数値制御装置の機能の一例を示す図である。 更新指令を含む加工プログラムの一例を示す図である。 変更後の第1の軸構成パターンの一例を示す図である。
 以下、本開示の実施形態に係る数値制御装置について図面を用いて説明する。なお、以下の実施形態で説明する特徴のすべての組み合わせが課題解決に必ずしも必要であるとは限らない。また、必要以上の詳細な説明を省略する場合がある。また、以下の実施形態の説明、および図面は、当業者が本開示を十分に理解するために提供されるものであり、請求の範囲を限定することを意図していない。
 数値制御装置は、産業機械を制御する制御装置である。産業機械は、例えば、工作機械、放電加工機、および産業用ロボットである。工作機械は、例えば、マシニングセンタ、旋盤、および複合加工機である。放電加工機は、例えば、ワイヤ放電加工機、および形彫放電加工機である。産業用ロボットは、例えば、マニピュレータである。
 図1は、産業機械のハードウェア構成の一例を示す図である。産業機械1は、数値制御装置2と、入出力装置3と、サーボアンプ4と、サーボモータ5と、スピンドルアンプ6と、スピンドルモータ7と、補助機器8とを備える。
 数値制御装置2は、産業機械1全体を制御する制御装置である。数値制御装置2は、ハードウェアプロセッサ201と、バス202と、ROM(Read Only Memory)203と、RAM(Random Access Memory)204と、不揮発性メモリ205とを備える。
 ハードウェアプロセッサ201は、システムプログラムに従って数値制御装置2全体を制御するプロセッサである。ハードウェアプロセッサ201は、バス202を介してROM203に格納されたシステムプログラムなどを読み出し、システムプログラムに基づいて各種処理を行う。ハードウェアプロセッサ201は、加工プログラムに基づいて、サーボモータ5、およびスピンドルモータ7を制御する。ハードウェアプロセッサ201は、例えば、CPU(Central Processing Unit)、または電子回路である。
 ハードウェアプロセッサ201は、制御周期ごとに、例えば、加工プログラムの解析、ならびに、サーボモータ5、およびスピンドルモータ7に対する制御指令の出力を行う。
 バス202は、数値制御装置2内の各ハードウェアを互いに接続する通信路である。数値制御装置2内の各ハードウェアはバス202を介してデータをやり取りする。
 ROM203は、数値制御装置2全体を制御するためのシステムプログラムなどを記憶する記憶装置である。ROM203は、コンピュータ読み取り可能な記憶媒体である。
 RAM204は、各種データを一時的に記憶するする記憶装置である。RAM204は、ハードウェアプロセッサ201が各種データを処理するための作業領域として機能する。
 不揮発性メモリ205は、産業機械1の電源が切られ、数値制御装置2に電力が供給されていない状態でもデータを保持する記憶装置である。不揮発性メモリ205は、例えば、加工プログラム、および各種パラメータを記憶する。不揮発性メモリ205は、コンピュータ読み取り可能な記憶媒体である。不揮発性メモリ205は、例えば、バッテリでバックアップされたメモリ、または、SSD(Solid State Drive)で構成される。
 数値制御装置2は、さらに、インタフェース206と、軸制御回路207と、スピンドル制御回路208と、PLC(Programmable Logic Controller)209と、I/Oユニット210とを備える。
 インタフェース206は、バス202と入出力装置3とを接続する。インタフェース206は、例えば、ハードウェアプロセッサ201によって処理された各種データを入出力装置3に送る。
 入出力装置3は、インタフェース206を介して各種データを受け、各種データを表示する。また、入出力装置3は、各種データの入力を受け付けてインタフェース206を介して各種データを、例えば、ハードウェアプロセッサ201に送る。
 入出力装置3は、例えば、タッチパネルである。入出力装置3がタッチパネルである場合、入出力装置3は、例えば、静電容量方式のタッチパネルである。タッチパネルは、静電容量方式に限らず、他の方式のタッチパネルであってもよい。入出力装置3は、数値制御装置2が格納される操作盤(不図示)に設置される。
 軸制御回路207は、サーボモータ5を制御する回路である。軸制御回路207は、ハードウェアプロセッサ201からの制御指令を受けてサーボモータ5を駆動させるための各種指令をサーボアンプ4に送る。軸制御回路207は、例えば、サーボモータ5のトルクを制御するトルクコマンドをサーボアンプ4に送る。
 サーボアンプ4は、軸制御回路207からの指令を受けて、サーボモータ5に電流を供給する。
 サーボモータ5は、サーボアンプ4から電流の供給を受けて駆動する。サーボモータ5は、産業機械1の各制御軸に設けられる。産業機械1が5軸を有する工作機械である場合、サーボモータ5は、例えば、X軸用サーボモータ、Y軸用サーボモータ、Z軸用サーボモータ、A軸用サーボモータ、およびC軸用サーボモータを含む。この場合、軸制御回路207、およびサーボアンプ4は、各サーボモータ5に対してそれぞれ設けられる。
 サーボモータ5は、例えば、刃物台を駆動させるボールねじに連結される。サーボモータ5が駆動することにより、刃物台などの産業機械1の構造物が所定の制御軸方向に移動する。サーボモータ5は、制御軸の位置、および送り速度を検出するエンコーダ(不図示)を内蔵する。エンコーダによって検出される制御軸の位置、および制御軸の送り速度をそれぞれ示す位置フィードバック情報、および速度フィードバック情報は、軸制御回路207にフィードバックされる。これにより、軸制御回路207は、制御軸のフィードバック制御を行う。
 スピンドル制御回路208は、スピンドルモータ7を制御するための回路である。スピンドル制御回路208は、ハードウェアプロセッサ201からの制御指令を受けてスピンドルモータ7を駆動させるための指令をスピンドルアンプ6に送る。スピンドル制御回路208は、例えば、スピンドルモータ7の回転速度を制御するスピンドル速度コマンドをスピンドルアンプ6に送る。
 スピンドルアンプ6は、スピンドル制御回路208からの指令を受けて、スピンドルモータ7に電流を供給する。
 スピンドルモータ7は、スピンドルアンプ6から電流の供給を受けて駆動する。スピンドルモータ7は、主軸に連結され、主軸を回転させる。
 PLC209は、ラダープログラムを実行して補助機器8を制御する装置である。PLC209は、I/Oユニット210を介して補助機器8に対して指令を送る。
 I/Oユニット210は、PLC209と補助機器8とを接続するインタフェースである。I/Oユニット210は、PLC209から受けた指令を補助機器8に送る。
 補助機器8は、産業機械1に設置され、産業機械1において補助的な動作を行う機器である。補助機器8は、I/Oユニット210から受けた指令に基づいて動作する。補助機器8は、産業機械1の周辺に設置される機器であってもよい。補助機器8は、例えば、工具交換装置、切削液噴射装置、または開閉ドア駆動装置である。
 次に、数値制御装置2の機能について説明する。図2は、数値制御装置2の機能の一例を示すブロック図である。数値制御装置2は、プログラム記憶部21と、解析部22と、制御部23と、軸構成記憶部24と、設定部25と、軸構成設定記憶部26と、指令受付部27とを備える。
 プログラム記憶部21、軸構成記憶部24、および軸構成設定記憶部26は、加工プログラム、および各種データがRAM204、または不揮発性メモリ205に記憶されることにより実現される。解析部22、制御部23、設定部25、および指令受付部27は、例えば、ハードウェアプロセッサ201が、ROM203に記憶されているシステムプログラムならびに不揮発性メモリ205に記憶されている各種データを用いて演算処理することにより実現される。
 プログラム記憶部21は、プログラムを記憶する。プログラムは、例えば、工作機械における加工に用いられる加工プログラムである。プログラムは、マニピュレータの動作を指令する動作プログラムであってもよい。
 解析部22は、プログラム記憶部21に記憶されたプログラム読み込んで解析する。プログラムが加工プログラムである場合、解析部22は、加工プログラムに記載されたGコード、Mコード、Fコード、Tコードなどを読み込んで各コードの意味を解析する。
 制御部23は、解析部22によって解析された加工プログラムに基づいて産業機械1の制御軸の制御を実行する。産業機械1が工作機械である場合、制御部23が制御軸の制御を実行することにより、ワークの加工が行われる。
 軸構成記憶部24は、複数の系統にそれぞれ属する制御軸の軸構成を示す複数の制御軸パターンを記憶する。つまり、軸構成パターンは、どの系統にどの制御軸が属するかを示す情報である。言い換えれば、軸構成パターンは、複数の系統のそれぞれを構成する制御軸を示す情報である。
 複数の系統は、少なくとも第1の系統と、第2の系統を含む。各系統には、少なくとも1つの制御軸が属する。また、軸構成記憶部24は、複数の軸構成パターンを記憶する。つまり、軸構成記憶部24は、第1の系統に属する少なくとも1つの第1の制御軸および第2の系統に属する少なくとも1つの第2の制御軸の軸構成を示す複数の軸構成パターンを記憶する。
 系統とは、1つの加工プログラムで制御される軸のまとまりである。例えば、上刃物台、下刃物台、第1の主軸、および第2の主軸を有する旋盤において、上刃物台および第1の主軸が第1の加工プログラムに基づいて制御される場合、上刃物台および第1の主軸は第1の系統に属する。また、下刃物台および第2の主軸が第2の加工プログラムに基づいて制御される場合、下刃物台および第2の主軸は、第2の系統に属する。
 なお、上述した1つの加工プログラムには、1または複数のサブプログラムが含まれてもよい。また、軸は、X軸、Y軸、Z軸、A軸、B軸、C軸などの制御軸、および主軸を含んでもよい。
 図3は、軸構成記憶部24が記憶する軸構成パターンの一例を示す図である。以下では、図3に示す軸構成パターンを初期状態の軸構成パターンと称する。初期状態とは、例えば、数値制御装置2が製造されて出荷されるときに設定される軸構成の状態である。
 各系統に属する少なくとも1つの制御軸は、軸名称および識別番号によって特定される。軸名称は、例えば、加工プログラムにおいて制御軸を指定するときに用いられる。識別番号は、産業機械の複数の制御軸のそれぞれに割り当てられた固有の番号である。
 複数の系統は、例えば、第1の系統、第2の系統および第3の系統を含む。例えば、第1の系統には、軸名称が「X1」、「Y1」および「Z1」である制御軸が属する。「X1」、「Y1」および「Z1」の識別番号は、それぞれ、「101」、「102」および「103」である。識別番号の下2桁の数字は、制御軸が初期状態において属する系統内の軸番号を示している。3桁目の数字は、制御軸が初期状態において属する系統の番号を示している。つまり、識別番号「101」は、第1の系統の01番目の制御軸であることを示している。
 第2の系統には、軸名称が「X2」、「Y2」および「Z2」である制御軸が属する。「X2」、「Y2」および「Z2」の識別番号は、それぞれ、「201」、「202」および「203」である。例えば、識別番号「201」は、第2の系統の01番目の制御軸であることを示している。
 第3の系統には、軸名称が「X3」、「Y3」および「Z3」である制御軸が属する。「X3」、「Y3」および「Z3」の識別番号は、それぞれ、「301」、「302」および「303」である。例えば、識別番号「301」は、第3の系統の01番目の制御軸であることを示している。
 図4A、および図4Bは、軸構成記憶部24が記憶する他の軸構成パターンを示す図である。他の軸構成パターンは、初期状態の軸構成パターン以外の軸構成パターンである。以下では、図4Aに示す軸構成パターンを第1の軸構成パターン、図4Bに示す軸構成パターンを第2の軸構成パターンと称する。
 第1の軸構成パターンは、初期状態の軸構成パターンにおける第1の系統の「Y1」と第2の系統の「Y2」とを入れ換えられ、さらに、第3の系統の「Z3」が第1の系統に移された軸構成パターンである。つまり、第1の軸構成パターンの第1の系統には、「X1」、「Y2」、「Z1」、および「Z3」が属する。第2の系統には、「X2」、「Y1」および「Z2」が属する。第3の系統には、「X3」および「Y3」が属する。
 第2の軸構成パターンは、初期状態の軸構成パターンにおける第1の系統の「X1」と第2の系統の「X2」とが入れ換えられた軸構成パターンである。つまり、第2の軸構成パターンの第1の系統には、「X2」、「Y1」および「Z1」が属する。第2の系統には、「X1」、「Y2」および「Z2」が属する。第3の系統には、「X3」、「Y3」および「Z3」が属する。
 設定部25は、軸構成記憶部24に記憶された複数の軸構成パターンのうちの1つの軸構成パターンに従って軸構成を設定する。設定部25は、軸構成パターンを軸構成設定記憶部26に記憶させることにより、軸構成を設定する。
 軸構成設定記憶部26は、設定部25によって設定された軸構成を記憶する。軸構成設定記憶部26は、設定部25によって軸構成が変更されるまで、設定された軸構成を保持する。
 数値制御装置2の電源が投入されると、設定部25は、例えば、初期状態の軸構成パターンに従って、軸構成を設定する。
 指令受付部27は、設定された軸構成の変更を指令する変更指令を受け付ける。変更指令は、例えば、加工プログラムで指定される指令である。
 図5は、加工プログラムの一例を示す図である。加工プログラムは、第1の系統の加工プログラム、第2の系統の加工プログラム、および第3の系統の加工プログラムを含む。図5に示す例では、第2の系統の加工プログラムにおいて変更指令が指定されている。変更指令は、複数の系統のうちのいずれの系統の加工プログラムにおいて指定されてもよい。
 変更指令は、例えば、「G52.4P1」である。「G52.4」は、軸構成の変更を指令するGコードである。「P」は、軸構成パターンを指定するコードである。つまり、「G52.4P1」は、軸構成設定記憶部26に設定された軸構成を第1の軸構成パターンが示す軸構成に変更することを指定する変更指令である。
 設定部25は、指令受付部27が変更指令を受け付けたことに応じて、設定されている1つの軸構成パターンとは異なる他の軸構成パターンに従って軸構成を設定する。図5に示す例では、設定部25は、初期状態の軸構成パターンが示す軸構成を第1の軸構成パターンが示す軸構成に変更する。つまり、設定部25は、新たに軸構成を設定する。
 図6は、新たに設定された軸構成について説明する図である。図6に示す例では、初期状態の軸構成パターンが示す軸構成から第1の軸構成パターンに軸構成に変更されている。具体的には、第1の系統に属する「Y1」と第2の系統に属する「Y2」とが入れ換えられ、第3の系統に属する「Z3」が第1の系統に移されている。
 軸構成が新たに設定されると、制御部23は、新たに設定された軸構成に基づいて各制御軸を制御する。図6に示す例では、制御部23は、第1の系統の加工プログラムに基づいて、軸名称が「X1」、「Y2」、「Z1」および「Z3」の制御軸を制御する。同様に、制御部23は、第2の系統の加工プログラムに基づいて、軸名称が「X2」、「Y1」、および「Z2」の制御軸を制御する。同様に、制御部23は、第3の系統の加工プログラムに基づいて、軸名称が「X3」、および「Y3」の制御軸を制御する。
 次に、数値制御装置2で実行される処理の流れについて説明する。図7は、数値制御装置2で実行される処理の流れの一例を示すフローチャートである。
 数値制御装置2の電源が投入されると、設定部25は、初期状態の軸構成パターンに従って軸構成を設定する(ステップS1)。
 次に、加工プログラムの実行が開始されると、解析部22は、加工プログラムの解析を開始する(ステップS2)。
 次に、制御部23は、解析部22によって解析された加工プログラムに基づいて制御軸の制御を行う(ステップS3)。
 次に、指令受付部27が変更指令を受け付けたことに応じて、設定部25は、軸構成を変更する(ステップS4およびステップS5)。
 その後、制御部23は、変更された軸構成に基づいて制御軸の制御を行い(ステップS6)、処理を終了させる。
 以上説明したように、数値制御装置2は、第1の系統に属する少なくとも1つの第1の制御軸および第2の系統に属する少なくとも1つの第2の制御軸の軸構成を示す複数の軸構成パターンを記憶する軸構成記憶部24と、軸構成記憶部24に記憶された複数の軸構成パターンのうちの1つの軸構成パターンに従って軸構成を設定する設定部25と、を備える。
 したがって、数値制御装置2は、複数の系統に属する複数の制御軸の軸構成を迅速に変更することができる。例えば、10系統を有する多系統システムであっても、数値制御装置2は、任意の系統の加工プログラムの1つのブロックに記載された変更指令によって、軸構成を変更することができる。つまり、オペレータは、複数の系統のそれぞれの加工プログラムにおいて変更指令を記載する必要がない。また、オペレータは、加工プログラムにおいて、複数の制御軸の軸構成を変更させる複数の変更指令を順番に記載する必要がない。そのため、オペレータの加工プログラムの作成に係る負担を低減させることができる。さらに、加工プログラムの作成に係るミスの発生を低減させることができる。
 また、数値制御装置2は、設定された軸構成の変更を指令する変更指令を受け付ける指令受付部27をさらに備え、指令受付部27が変更指令を受け付けたことに応じて、設定部25は、1つの軸構成パターンとは異なる他の軸構成パターンに従って軸構成を設定する。ここで、変更指令は、加工プログラムで指定される指令である。特に、変更指令は、1つのブロックにおいて指定される。そのため、数値制御装置2が変更指令を解析して処理するための処理時間を短くすることができる。その結果、加工プログラムが実行されたときのサイクルタイムを短くすることができる。
 数値制御装置2は、第1の制御軸、および第2の制御軸の少なくともいずれかが動作中であるか否かを判断する動作判断部をさらに備えていてもよい。動作判断部は、例えば、ハードウェアプロセッサ201が、ROM203に記憶されているシステムプログラムならびに不揮発性メモリ205に記憶されている各種データを用いて演算処理することにより実現される。
 図8は、動作判断部を備えた数値制御装置2の機能の一例を示すブロック図である。動作判断部28は、第1の制御軸、および第2の制御軸の少なくともいずれかが動作中であるか否かを判断する。動作判断部28は、例えば、制御部23がサーボアンプ4に向けて出力する指令に基づいて第1の制御軸、および第2の制御軸の少なくともいずれかが動作中であるか否かを判断する。動作判断部28は、位置フィードバック情報、および速度フィードバック情報の少なくともいずれかに基づいて、第1の制御軸、および第2の制御軸の少なくともいずれかが動作中であるか否かを判断してもよい。
 動作判断部28が第1の制御軸、および第2の制御軸の少なくともいずれかが動作中であると判断した場合、設定部25は、軸構成の変更を中止、または保留する。例えば、図5に示す加工プログラムが実行された場合、制御部23は、第1の系統においてX1軸を100.0に移動させ、第2の系統においてY2軸を100.0に移動させ、第3の系統においてX3軸を100.0に移動させるまで、シーケンス番号N11で指定された変更指令「G52.4P1」の実行を保留する。言い換えれば、制御部23は、各系統のシーケンス番号N10で指定された指令の実行が完了まで待ち合わせ制御を行う。
 動作判断部28は、第1の制御軸、および第2の制御軸の少なくともいずれかが動作中ではないと判断すると、設定部25は、軸構成を変更する。言い換えれば、動作判断部28が各系統に属する制御軸の動作が完了したと判断すると、設定部25は、軸構成を変更する。すなわち、第1の制御軸、および第2の制御軸の動作が停止した後、設定部25は、軸構成を設定する。これにより、各制御軸の動作中に軸構成が変更されることにより生じる不具合の発生を防ぐことができる。
 上述した実施形態では、加工プログラムの1つのブロックで指定された変更指令に基づいて設定部25が新たに軸構成を設定する。しかし、設定部25は、加工プログラムで指定された変更指令に限らず、数値制御装置2において出力される信号に基づいて軸構成を変更してもよい。つまり、変更指令は、あらかじめ定められた信号であってもよい。例えば、数値制御装置2の操作盤の所定のスイッチが操作されることにより、あらかじめ定められた信号が出力される。これにより、設定部25は、信号によって指定された軸構成パターンに従って軸構成を変更することができる。
 軸構成記憶部24が記憶する複数の軸構成パターンは、第1の制御軸、および第2の制御軸の動作が中断された時に設定される中断軸構成パターンを含んでいてもよい。中断は、例えば、操作盤のリセットボタンが押下されることにより加工プログラムが実行途中で終了することである。
 中断軸構成パターンは、例えば、初期状態の軸構成パターンである。中断軸構成パターンは、数値制御装置2の電源が投入されたときに設定される軸構成パターンであってもよい。中断軸構成パターンは、中断が行わる直前に設定されていた軸構成パターンであってもよい。中断軸構成パターンは、あらかじめ定められた任意の軸構成パターンであってよい。
 設定部25は、指令受付部27が第1の制御軸、および第2の制御軸の動作の中断を指令する中断指令を受け付けたことに応じて、中断軸構成パターンに従って軸構成を設定する。
 図9は、指令受付部27が中断指令を受け付けたことに応じて設定される軸構成パターンの一例を示す図である。設定部25は、指令受付部27が中断指令を受け付けたことに応じて、例えば、初期状態の軸構成パターンに従って軸構成を設定する。したがって、軸構成が第1の軸構成パターンに従って設定されていた場合、設定部25は、第1の系統に設定されていた「Y2」と第2の系統に設定されていた「Y1」とを入れ換える。また、設定部25は、第1の系統に設定されていた「Z3」を第3の系統に移す。
 軸構成記憶部24は、システム変数に代入された識別番号を記憶することにより複数の軸構成パターンを記憶してよい。例えば、数値制御装置2では、あらかじめシステム変数が各系統の各制御軸に割り当てられ、軸構成記憶部24が各システム変数に代入された識別番号を記憶する。
 図10は、軸構成パターンについて説明するための図である。図10は、システム変数に識別番号が代入されていることを示す図である。数値制御装置2において、例えば、システム変数「#001」~「#050」は、第1の系統に属する制御軸に割り当てられる。また、システム変数「#051」~「#100」は、第2の系統に属する制御軸に割り当てられる。また、システム変数「#101」~「#150」は、第3の系統に属する制御軸に割り当てられる。
 第1の系統に割り当てられたシステム変数「#001」~「#003」には、それぞれ、例えば、識別番号「101」~「103」が代入される。また、第2の系統に割り当てられたシステム変数「#054」~「#056」には、それぞれ、識別番号「201」~「203」が代入される。また、第3の系統に割り当てられたシステム変数「#107」~「#109」には、それぞれ、識別番号「301」~「303」が代入される。つまり、図10は、初期状態の軸構成パターンを示している。
 図11は、第1の軸構成パターンについて説明するための図である。第1の系統に割り当てられたシステム変数「#010」、「#012」、「#014」、および「#018」、には、それぞれ、識別番号「101」、「103」、「202」、および「303」が代入される。また、第2の系統に割り当てられたシステム変数「#061」、「#063」、および「#065」には、それぞれ、識別番号「102」、「201」、および「203」が代入される。また、第3の系統に割り当てられたシステム変数「#116」、および「#117」には、それぞれ、識別番号「301」、および「302」が代入される。説明は省略するが、第2の軸構成パターンも同様に、システム変数に所定の識別番号が代入される。
 設定部25は、初期状態の軸構成パターン、第1の軸構成パターンおよび第2の軸構成パターンを含む複数の軸構成パターンのうちのいずれかの軸構成パターンに対応するシステム変数を読み込んで軸構成設定記憶部26に記憶させることにより、軸構成を設定する。
 数値制御装置2は、軸構成記憶部24に記憶された複数の軸構成パターンに含まれるいずれかの軸構成パターンを更新するパターン更新部を備えていてもよい。パターン更新部は、例えば、ハードウェアプロセッサ201が、ROM203に記憶されているシステムプログラムならびに不揮発性メモリ205に記憶されている各種データを用いて演算処理することにより実現される。
 図12は、パターン更新部を備えた数値制御装置2の機能の一例を示す図である。図12に示す数値制御装置2は、パターン更新部29を備えている点で図8に示す数値制御装置2と異なる。したがって、ここでは、パターン更新部29、およびこれに関連する機能について説明し、図8を用いて説明した機能と同じ機能については説明を省略する。
 パターン更新部29は、軸構成記憶部24に記憶された複数の軸構成パターンに含まれるいずれかの軸構成パターンを更新する。パターン更新部29は、例えば、指令受付部27が、軸構成パターンを更新する更新指令を受け付けたことに応じて、軸構成記憶部24に記憶されたいずれかの軸構成パターンを更新する。
 図13は、更新指令を含む加工プログラムの一例を示す図である。図13に示す例では、第3の系統の加工プログラムにおいて、更新指令「#015=203」、「#018=#0」、「#065=#0」、「#118=303」が指定されている。すなわち、図13に示す更新指令は、図11に示す第1の軸構成パターンの第1の系統に「Z2」を追加して「Z3」を削除し、第2の系統の「Z2」を削除し、第3の系統に「Z3」を追加する更新を行う更新指令である。図14は、変更後の第1の軸構成パターンを示す図である。
 なお、更新指令は、加工プログラム以外において指定されてもよい。例えば、操作盤から更新指令が入力されるようにしてもよい。また、数値制御装置2においてあらかじめ定められた信号が出力された場合に、指令受付部27が更新指令を受け付けたと判断してもよい。
 また、数値制御装置2は、システム変数に識別番号を設定するための複数のテーブルを記憶してもよい。数値制御装置2は、例えば、オペレータの操作に基づいて、複数のテーブルのうちのいずれかのテーブルを読み込むようにしてもよい。これにより、テーブルに設定された識別番号がシステム変数に設定される。その結果、複数の軸構成パターンを一度の操作で更新することができる。
 本開示は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。本開示では、実施の形態の任意の構成要素の変形、もしくは実施の形態の任意の構成要素の省略が可能である。
  1       産業機械
  2       数値制御装置
  201     ハードウェアプロセッサ
  202     バス
  203     ROM
  204     RAM
  205     不揮発性メモリ
  206     インタフェース
  207     軸制御回路
  208     スピンドル制御回路
  209     PLC
  210     I/Oユニット
  21      プログラム記憶部
  22      解析部
  23      制御部
  24      軸構成記憶部
  25      設定部
  26      軸構成設定記憶部
  27      指令受付部
  28      動作判断部
  29      パターン更新部
  3       入出力装置
  4       サーボアンプ
  5       サーボモータ
  6       スピンドルアンプ
  7       スピンドルモータ
  8       補助機器

Claims (8)

  1.  第1の系統に属する少なくとも1つの第1の制御軸および第2の系統に属する少なくとも1つの第2の制御軸の軸構成を示す複数の軸構成パターンを記憶する軸構成記憶部と、
     前記軸構成記憶部に記憶された前記複数の軸構成パターンのうちの1つの軸構成パターンに従って前記軸構成を設定する設定部と、
    を備える数値制御装置。
  2.  設定された前記軸構成の変更を指令する変更指令を受け付ける指令受付部をさらに備え、
     前記指令受付部が前記変更指令を受け付けたことに応じて、前記設定部は、前記1つの軸構成パターンとは異なる他の軸構成パターンに従って前記軸構成を設定する請求項1に記載の数値制御装置。
  3.  前記第1の制御軸、および前記第2の制御軸の少なくともいずれかが動作中であるか否かを判断する動作判断部をさらに備え、
     前記動作判断部が、前記第1の制御軸、および前記第2の制御軸の少なくともいずれかが動作中であると判断した場合、前記設定部は、前記軸構成の変更を中止、または保留する請求項2に記載の数値制御装置。
  4.  前記変更指令は、加工プログラムで指定される指令である請求項2または3に記載の数値制御装置。
  5.  前記変更指令は、あらかじめ定められた信号である請求項2または3に記載の数値制御装置。
  6.  前記複数の軸構成パターンは、前記第1の制御軸、および前記第2の制御軸の動作が中断された時に設定される中断軸構成パターンを含み、
     前記指令受付部が前記第1の制御軸、および前記第2の制御軸の動作の中断を指令する中断指令を受け付けたことに応じて、前記設定部は、前記中断軸構成パターンに従って前記軸構成を設定する請求項2~5のいずれか1項に記載の数値制御装置。
  7.  前記軸構成記憶部に記憶された前記複数の軸構成パターンに含まれるいずれかの軸構成パターンを更新するパターン更新部をさらに備え、
     前記指令受付部が、前記いずれかの軸構成パターンを更新する更新指令を受け付けたことに応じて、前記パターン更新部は、前記いずれかの軸構成パターンを更新する請求項2~6のいずれか1項に記載の数値制御装置。
  8.  第1の系統に属する少なくとも1つの第1の制御軸および第2の系統に属する少なくとも1つの第2の制御軸の軸構成を示す複数の軸構成パターンを記憶することと、
     記憶された前記複数の軸構成パターンのうちの1つの軸構成パターンに従って前記軸構成を設定することと、
    をコンピュータに実行させる命令を記憶するコンピュータ読み取り可能な記憶媒体。
PCT/JP2022/017615 2022-04-12 2022-04-12 数値制御装置およびコンピュータ読み取り可能な記憶媒体 WO2023199408A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/017615 WO2023199408A1 (ja) 2022-04-12 2022-04-12 数値制御装置およびコンピュータ読み取り可能な記憶媒体

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/017615 WO2023199408A1 (ja) 2022-04-12 2022-04-12 数値制御装置およびコンピュータ読み取り可能な記憶媒体

Publications (1)

Publication Number Publication Date
WO2023199408A1 true WO2023199408A1 (ja) 2023-10-19

Family

ID=88329277

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/017615 WO2023199408A1 (ja) 2022-04-12 2022-04-12 数値制御装置およびコンピュータ読み取り可能な記憶媒体

Country Status (1)

Country Link
WO (1) WO2023199408A1 (ja)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0336606A (ja) * 1989-07-04 1991-02-18 Mitsubishi Electric Corp 数値制御装置

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0336606A (ja) * 1989-07-04 1991-02-18 Mitsubishi Electric Corp 数値制御装置

Similar Documents

Publication Publication Date Title
EP0766154B1 (en) Numerically controlled machine tool and method
US9778646B2 (en) Robot controller for controlling robot which supplies and discharges workpiece
WO1997043702A1 (fr) Systeme et procede de commande numerique destines a l'entree et a la mise en place d'un logiciel de commande pour controleur numerique
Martinov et al. Implementation of dynamic changes in machine kinematics in the electroautomatic subsystem of the CNC system
JP2998473B2 (ja) 数値制御工作機械
WO2023199408A1 (ja) 数値制御装置およびコンピュータ読み取り可能な記憶媒体
US6999842B2 (en) Numerical controller
JP3893334B2 (ja) 多系統数値制御装置
WO2022154049A1 (ja) 数値制御装置
JP3180805B2 (ja) 数値制御工作機械
WO2022196622A9 (ja) 数値制御装置
JP2002273601A (ja) 多軸工作機械
JPH04155406A (ja) 制御方法
WO2023203724A1 (ja) 表示装置およびコンピュータ読み取り可能な記憶媒体
WO2023053349A9 (ja) 数値制御装置
WO2015159365A1 (ja) Nc工作機械
JP2687119B2 (ja) 数値制御装置
JP2694638B2 (ja) 数値制御装置
JPH02151909A (ja) 産業用機械の制御装置
JP2779796B2 (ja) 数値制御装置
JPS599706A (ja) 数値制御方式
JP2005131775A (ja) 工作機械の軸平行処理装置
WO2024042568A1 (ja) 数値制御装置
WO2023166559A1 (ja) データ収集装置およびコンピュータ読み取り可能な記憶媒体
JP2687120B2 (ja) 数値制御装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22937387

Country of ref document: EP

Kind code of ref document: A1