Cycle type determination device and computer-readable storage medium

The cycle type determination device accurately identifies cycle types in machining programs by analyzing argument values, presence/absence, and order within the device's command determination and type determination units, addressing the ambiguity of multiple cycle types per command.

WO2025134323A1PCT designated stage expired Publication Date: 2025-06-26FANUC LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/045974
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-12-21
Publication Date
2025-06-26

AI Technical Summary

Technical Problem

Existing machining programs lack an accurate method to determine the type of cycle associated with a cycle command, as multiple types of cycles can be linked to a single code, leading to ambiguity.

Method used

A cycle type determination device that includes a command determination unit, a command format storage unit, a type determination unit, and an information display unit. This device searches for cycle commands in machining programs, stores command formats, determines cycle types based on argument values, presence/absence, and order, and displays the determined cycle types and arguments.

Benefits of technology

Enables accurate determination of cycle types even when multiple types are associated with a single cycle command, supporting understanding and managing machining programs more effectively.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023045974_26062025_PF_FP_ABST
    Figure JP2023045974_26062025_PF_FP_ABST
Patent Text Reader

Abstract

A cycle type determination device searches for a cycle command included in a machining program, determines a cycle type from an argument of the cycle command included in the machining program, and at least one of a control value of the argument, the presence / absence of the argument, and the order of arguments, with the control value of the argument, the presence / absence of the argument, and the order of arguments being defined by the command format of the cycle command, and displays the determined cycle type and the argument of the cycle command.
Need to check novelty before this filing date? Find Prior Art

Description

Cycle type determination device and computer-readable storage medium

[0001] The present disclosure relates to a cycle type determination device and a computer-readable storage medium.

[0002] A machining program for a numerical control device consists of code and arguments. The code includes preparatory functions (G code), auxiliary functions (M code), spindle functions (S code), feed functions (F code), and tool functions (T code). A machining program is a collection of blocks consisting of combinations of code and arguments.

[0003] There is also a code called a cycle command. A cycle command is a set of predetermined operations grouped together. By using cycle commands, it is possible to create a machining program with several blocks, such as tool axis movement, coordinate setting, and spindle rotation, in one block. For example, see Patent Document 1.

[0004] Japanese Patent Application Laid-Open No. 2017-102766

[0005] There is not necessarily a one-to-one correspondence between the code of a cycle command and the type of cycle. Depending on the combination of the code and arguments of a cycle command, multiple types of cycles may be associated with one cycle command. In such cases, there is no device that can accurately determine the type of cycle.

[0006] Therefore, even if multiple types of cycles are associated with one cycle command, it is desirable to accurately determine the type of cycle.

[0007] A cycle type determination device according to one aspect of the present disclosure includes a command determination unit that searches for cycle commands included in a machining program, a command format storage unit that stores the command format of the cycle commands, a type determination unit that determines the type of cycle from the arguments of the cycle commands included in the machining program and at least one of the specified values ​​of the arguments, the presence or absence of arguments, and the order of the arguments defined in the command format of the cycle commands, and an information display unit that displays the determined cycle type and the arguments of the cycle commands.

[0008] 1 is a block diagram of a cycle type determination device. FIG. 1 is a diagram illustrating the configuration of a machining program. FIG. 2 is a schematic diagram illustrating processing for determining a cycle type from one command value. FIG. 3 is an example of a display screen illustrating the cycle type "cylinder measurement." FIG. 4 is a schematic diagram illustrating processing for determining a cycle type from multiple command values. FIG. 5 is an example of a display screen illustrating the cycle type "internal diameter rough cutting cycle." FIG. 6 is a schematic diagram illustrating processing for determining a cycle type from a range of command values. FIG. 7 is an example of a display screen illustrating the cycle type "drilling cycle." FIG. 8 is a schematic diagram illustrating processing for determining a cycle type from the presence or absence of an argument command. FIG. 9 is an example of a display screen illustrating the cycle type "inner width measurement." FIG. 10 is a schematic diagram illustrating processing for determining a cycle type from a combination of an argument command value and the presence or absence of an argument command. FIG. 11 is an example of a display screen illustrating the cycle type "calibration." FIG. 12 is a schematic diagram illustrating processing for determining a cycle type from the order of arguments. FIG. 13 is an example of a display screen illustrating the cycle type "cutting cycle." FIG. 14 is a flowchart illustrating the operation of a type determination unit. FIG. 15 is a block diagram of a cycle type determination device according to a second embodiment. FIG. 16 is an example of a display screen for accepting a change of an argument. FIG. 17 is an example of a display screen for accepting an addition of an argument. 10 is an example of a display screen for accepting the change of the order of arguments.

[0009] First Embodiment Hereinafter, a description will be given of a cycle type determination device 100 according to a first embodiment. The cycle type determination device 100 determines the type of cycle from a cycle command in a machining program.

[0010] 1 is a block diagram of a cycle type determination device 100. The cycle type determination device 100 includes a machining program storage unit 1, a command format storage unit 2, a command determination unit 3, a type determination unit 4, and an information display unit 5.

[0011] The machining program memory unit 1 stores machining programs. Machining programs have their own unique syntax. The structure of a machining program will be explained with reference to Figure 2. A machining program is made up of words. A word is a combination of letters called addresses and numbers. A set of words separated by semicolons or other symbols is called a block. A block corresponds to a line of a machining program. A word has a code and an argument. G-code, which is one type of code, commands tool axis movement, coordinate setting, rotation, machining method, etc. G-code includes cycle commands (including macro commands). A cycle command is a collection of multiple commands, and commands a predetermined series of operations in one block.

[0012] The command format storage unit 2 stores the format of a cycle command. The cycle command format is composed of a cycle command (G code) and arguments. The command format defines the cycle command, the cycle type, the arguments, the argument definition, and the argument order.

[0013] 3, 5, 7, 9, 11, and 13 are schematic diagrams for explaining the processing of the command determination unit 3 and type determination unit 4. FIG. 3 shows an example of determining the cycle type from the command value of the argument of the (1-1) cycle command. In this example, the cycle type is determined from one argument "A." The cycle command "G300" can command two types of cycles. The command type is determined by the format. The command format storage unit 2 stores the cycle type and the command format in association with each other.

[0014] The machining program to be judged is "G300 A1.B20.C10.D10.L-5.R15.F20.U1." The command judgment unit 3 judges the machining program code "G300" to be a cycle command. The command format of the cycle command "G300" is shown below. Measurement of a circular cylinder: G300 A1. B_C_D_L_R_F_U_ Measurement of a square prism: G300 A2. B_C_D_L_R_F_U_ Note that the command format is not limited. It may also be stored in table format (see Figures 3, 5, 7, 9, 11 and 13).

[0015] The type determination unit 4 determines the type of cycle from the argument of the cycle command "G300." The criteria for determination are (1) the command value of the argument, (2) the presence or absence of a command for the argument, and (3) the order of the arguments. The type determination unit 4 uses at least one of (1) to (3) to determine the type of cycle.

[0016] The type determination unit 4 stores combinations of cycle types, cycle commands, arguments, and specified values. In the example of Fig. 3, when the command value of argument "A" is the specified value "1," the cycle type is determined to be "measurement of a circular cylinder," and when the command value of argument "A" is the specified value "2," the cycle type is determined to be "measurement of a rectangular prism."

[0017] The information display unit 5 displays a list of the determined cycle type and the arguments of the cycle command. Fig. 4 is an example of the display. The display screen displays the cycle type "cylinder measurement", the argument addresses, and the meanings of the arguments. The argument address "A" means "measurement type", "B" means "X-axis center position", "C" means "Y-axis center position", "D" means "outer diameter", "L" means "measurement position height", "R" means "approach distance", "F" means "measurement speed", and "U" means "number of measurement points".

[0018] Figure 5 is an example of (1-2) determining the cycle type from the command values ​​of multiple arguments. The machining program to be determined is "G800 A2.B1.R1.P10Q20F20.S800". The command determination unit 3 determines that the machining program code "G800" is a cycle command. The command format of the cycle command "G800" is shown below. Outer diameter rough cutting cycle: G800 A1. B1. R_P_Q_F_S_ Outer diameter semi-finishing cycle: G800 A1. B2. R_P_Q_F_S_ Inner diameter rough cutting cycle: G800 A2. B1. R_P_Q_F_S_ Inner diameter semi-finishing cycle: G800 A2. B2. R_P_Q_F_S_

[0019] The type determination unit 4 determines the cycle type based on the command format. In the example of Fig. 5, the cycle type is determined by the combination of two arguments "A" and "B." Specifically, when the command values ​​of arguments "A" and "B" are "1" and "1," the cycle type is an "outer diameter rough cutting cycle," when the command values ​​are "1" and "2," the cycle type is an "outer diameter semi-finishing cycle," when the command values ​​are "2" and "1," the cycle type is an "inner diameter rough cutting cycle," and when the command values ​​are "2" and "2," the cycle type is an "inner diameter semi-finishing cycle."

[0020] The type determination unit 4 determines that the cycle type of the machining program "G800 A2.B1.R1.P10Q20F20.S800" is an "inner diameter rough cutting cycle." The information display unit 5 displays a list of the determined cycle type and the arguments of the cycle command. FIG. 6 is an example of a display screen. The display screen displays the cycle type "inner diameter rough cutting cycle," the address of the argument, and the meaning of the argument. The argument address "A" means "inner diameter / outer diameter," "B" means "rough / semi-finish," "R" means "relief amount," "P" means "finish shape start N number," "Q" means "finish shape end N number," "F" means "feed rate command," and "S" means "spindle speed command."

[0021] Figure 7 shows an example of determining the cycle type within the range of command values ​​(1-3). The command determination unit 3 determines that the machining program code "G65 P1000" is a cycle command. The command format of the cycle command "G65 P1000" is as follows: Drill cycle: G65P1000 X_Y_Z_R_F_ (-10.<Z<10.) Deep hole drilling cycle: G65P1000 X_Y_Z_R_F_ (-10.≧Z or Z≦10.)

[0022] The type determination unit 4 determines the type of cycle command (actually a macro command) "G65 P1000" based on the command format. In the example of Fig. 7, when the command value of the argument "Z" is within the specified range "-10 < Z < 10," the cycle type is a "drilling cycle," and when the command value is within the specified range "-10 ≥ Z, Z ≤ 10," the cycle type is a "deep hole drilling cycle."

[0023] Since the command value of the argument "Z" is "-5.", the type determination unit 4 determines that the cycle type of the machining program "G65 P1000 X50.Y50.Z-5.R2.F20." is a "drill cycle." The information display unit 5 displays a list of the determined cycle types and the arguments of the cycle commands. FIG. 8 is an example of a display screen. The display screen displays the cycle type "drill cycle," the address of the argument, and the meaning of the argument. The argument address "X" means "hole position data," "Y" means "hole position data," "Z" means "distance from point R to the hole bottom," "R" means "distance from the initial level to point R," and "F" means "cutting feed rate."

[0024] Figure 9 shows an example of (2) determining the type of cycle based on the presence or absence of an argument command. The command determination unit 3 determines that the machining program code "G400" is a cycle command. The machining program to be determined is "G400 B20.C10.D10.L-5.R15.F20.U1." The command format of the cycle command "G400" is as follows: Inner width measurement: G400 B_C_D_L_R_F_U_ Outer width measurement: G400 B_C_D_E_L_R_F_U_

[0025] The type determination unit 4 determines the type of cycle command "G400" based on the command format. In the example of Fig. 9, if the argument of the cycle command "G400" is "B_C_D_L_R_F_U", the cycle type is determined to be "inner width measurement", and if the argument is "B_C_D_E_L_R_F_U", the cycle type is determined to be "outer width measurement". In other words, the cycle type is determined based on the presence or absence of the argument "E".

[0026] The type determination unit 4 determines that the cycle type of the machining program "G400 B20.C10.D10.L-5.R15.F20.U1." is "inner width measurement." The information display unit 5 displays a list of the determined cycle type and the arguments of the cycle command. FIG. 10 is an example of a display screen. The display screen displays the cycle type "inner width measurement," the address of the argument, the meaning of the argument, and the command value. The argument address "B" means "X-axis center position," "C" means "Y-axis center position," "D" means "groove width," "L" means "measurement position height," "R" means "approach distance," "F" means "measurement speed," and "U" means "number of measurement points."

[0027] FIG. 11 shows an example of determining the type of cycle from a combination of (1) the command value of the argument of the cycle command and (2) the presence or absence of a command in the argument. The machining program to be determined is "G500 C1.S20.Z10." The command determination unit 3 determines that the code "G500" in the machining program is a cycle command. The command format of the cycle command "G500" is as follows: Calibration (probe length): G500 C1. Z_ Calibration (probe center deviation): G500 C1. S_Z_ Calibration (reference sphere): G500 C2. S_Z_

[0028] The type determination unit 4 determines the type of cycle command "G500" based on the command format. In the example of FIG. 11 , if the arguments "C" and "Z" of the cycle command "G500" are present and the command value of the argument "C" is the specified value "1," the cycle type is "calibration (probe length)." If the arguments "C," "S," and "Z" are present and the command value of the argument "C" is the specified value "2," the cycle type is "calibration (reference sphere)." If the arguments "C," "S," and "Z" are present and the command value of the argument "C" is the specified value "1," the cycle type is "calibration (probe center deviation)."

[0029] The type determining unit 4 determines that the type of cycle of the machining program "G500 C1.S20.Z10." is "calibration (center deviation of the probe)."

[0030] The information display unit 5 displays a list of the determined cycle type and the arguments of the cycle command. Fig. 12 is an example of the display screen. The display screen displays the cycle type "Calibration (probe center deviation)", the argument address, and the meaning of the argument. The argument address "C" means "calibration target", "S" means "reference workpiece diameter", and "Z" means "measurement position height". The machining program to be determined is assumed to be "G700 A80.B-20.X60.Z-40.F20."

[0031] Figure 13 is an example of (3) determining the type of cycle from the order of arguments. The command determination unit 3 determines that the code "G700" in the machining program is a cycle command. The command format of the cycle command "G700" is as follows: Cutting cycle (approach in X direction, then approach in Z direction): G700 A_B_X_Z_F_ A: X direction approach point Cutting cycle (approach in Z direction, then approach in X direction): G700 B_A_X_Z_F_ B: Z direction approach point

[0032] The type determination unit 4 determines the type of cycle command "G700" based on the command format. In the example of Fig. 13, the cycle type is determined by the order of the two arguments "A" and "B". Specifically, if the argument order is "A", "B", "X", "Z", and "F", the cycle type is a "cutting cycle (approach in the X direction followed by an approach in the Z direction)". If the argument order is "B", "A", "X", "Z", and "F", the cycle type is a "cutting cycle (approach in the Z direction followed by an approach in the X direction)".

[0033] The type determination unit 4 determines that the type of cycle of the machining program "G700 A80.B-20.X60.Z-40.F20." is "cutting cycle (X-direction approach followed by Z-direction approach)."

[0034] The information display unit 5 displays a list of the determined cycle type and the arguments of the cycle command. Fig. 14 is an example of a display screen. The display screen displays the cycle type "cutting cycle (X-direction approach followed by Z-direction approach)", the address of the argument, and the meaning of the argument. Note that, as in a second embodiment described later, the cycle type may be displayed as "cutting cycle" and the approach direction may be displayed as an image.

[0035] The operation of the type determination unit 4 will be described with reference to the flowchart in Fig. 15. The type determination unit 4 compares a machining program block including a cycle command with a command format. There are multiple command formats for cycle commands. The type determination unit 4 compares the multiple command formats one by one.

[0036] The type determination unit 4 determines whether the combination of arguments in the command format is the same as the combination of arguments in the machining program. If the combination of arguments in the command format is different from the combination of arguments in the machining program (Step S1; Yes), the next command format is read. Note that the combination in Step S1 refers to a mathematical combination. A mathematical combination refers to which elements are included, regardless of the order of the elements. In other words, a different combination of arguments means that the number of arguments or the type of argument (alphabet) is different. If the arguments in the command format are the same as the arguments in the machining program (Step S1; No), the type determination unit 4 compares the order of the arguments in the command format with the order of the arguments in the machining program. If the order of the arguments is different (Step S2; Yes), the next command format is read.

[0037] If the order of arguments in the command format matches the order of arguments in the machining program (step S2; No), the type determination unit 4 determines whether or not a specified value is set for the argument in the command format. If a specified value is not set for the argument (step S3; No), the type determination unit 4 determines the type of cycle set in the command format (step S4).

[0038] If a specified value is set for the argument (Step S3: Yes), the type determination unit 4 compares the command value of the argument in the machining program with the specified value of the argument in the command format. The specified value is a value or a range of values ​​set in the command format. The specified value is associated with the type of cycle. The type of cycle is determined by the specified value.

[0039] If the command values ​​of the arguments in the machining program differ from the specified values ​​of the arguments in the command format (Step S5; Yes), the type determination unit 4 reads out the next command format. If the command values ​​of the arguments in the machining program match the specified values ​​of the arguments in the command format (Step S5; No), the type of cycle set in the command format is determined (Step S4).

[0040] The type determination unit 4 changes the command format and repeats the processing from step S1 to step S5 until a command format that matches the machining program is detected.

[0041] As described above, the cycle type determination device 100 of the first embodiment stores the command format of a cycle command. When there is no one-to-one correspondence between a cycle command and a cycle type, the cycle type determination device 100 determines the cycle type based on the arguments of the cycle command and the command values ​​of the arguments. The cycle type determination device 100 automatically determines the cycle type even for complex cycle commands in which the cycle type changes depending on the command values ​​of the arguments, the presence or absence of arguments, and the command order, thereby assisting in understanding the contents of the machining program.

[0042] 16 is a block diagram of a cycle type determination device 100 according to a second embodiment. The cycle type determination device 100 according to the second embodiment includes a machining program storage unit 1, a command format storage unit 2, a command determination unit 3, a type determination unit 4, an information display unit 5, and a change acceptance unit 6. Note that the same components as those in the cycle type determination device 100 according to the first embodiment will not be described.

[0043] The information display unit 5 displays the type of cycle as an image. Fig. 17 shows an example of the display screen.

[0044] The change receiving unit 6 receives changes to the command values ​​of the arguments. The change receiving unit 6 changes the machining program in accordance with the change in the command value. In the example of FIG. 17, the command value of argument "B" is changed from "20." to "50." The change receiving unit 6 reflects the change in the argument in the machining program. The machining program is changed from "G300 A1.B20.C10.D10.L-5.R15.F20.U1." to "G300 A1.B50.C10.D10.L-5.R15.F20.U1."

[0045] The image may change depending on the argument. In the cycle command "G300," when the command value of the argument "A" changes from "1." to "2.", the cycle type changes from "Measurement of a circular cylinder" to "Measurement of a rectangular prism." The information display unit 5 changes the image of the cycle according to the change in the cycle type. In addition, the display of the meaning of the argument is changed as necessary.

[0046] The change acceptance unit 6 accepts the addition of an argument. FIG. 18 is an example of a screen for accepting the addition of an argument. For the cycle command "G400," if the argument "E" is not included, the cycle type becomes "inner width measurement," and if the argument "E" is included, the cycle type becomes "outer width measurement." In the example of FIG. 18, when the cycle type is "inner width measurement," a "+" icon and the letter "E" are displayed. Selecting the "+" icon adds the argument "E." Note that a "-" icon may be displayed to allow the argument to be deleted. When the argument "E" is added, the information display unit 5 changes the cycle type from "inner width measurement" to "outer width measurement." Accordingly, the cycle image changes from "inner width measurement" to "outer width measurement." The change acceptance unit 6 reflects the change in the argument in the machining program.

[0047] The change receiving unit 6 receives a change in the order of the arguments. FIG. 19 is an example of a screen for receiving a change in the order of the arguments. In the cycle command "G700," if the order of the arguments "A" and "B" is swapped, the cycle type changes. In the example of FIG. 19, "up and down arrow" icons are displayed near the arguments "A" and "B." When the "up and down arrow" icons are selected, the order of the arguments "A" and "B" is swapped. If the order of the arguments "A" and "B" is swapped, the cycle type changes. The information display unit 5 changes the image of the cycle according to the order of the arguments. The change receiving unit 6 reflects the change in the order in the machining program.

[0048] As described above, when multiple types of cycles are associated with one cycle command, the cycle type determination device 100 of the second embodiment determines the cycle type from the argument structure and displays the cycle type as an image. Furthermore, it accepts changes to arguments and reflects the argument changes in the machining program. Changes include changing the command value of an argument, adding an argument, deleting an argument, and changing the order of arguments. The information display unit 5 reflects the argument changes in the image. This allows the user to visually confirm the cycle type, the arguments that can be specified, and the meaning of each argument, even when multiple types of cycles are associated with one cycle command.

[0049] The hardware configuration of the cycle type determination device 100 to which the present disclosure is applied will be described below. Fig. 20 is a hardware configuration diagram of the cycle type determination device 100. As shown in Fig. 20, the cycle type determination device 100 includes a CPU 111 that controls the entire cycle type determination device 100, a ROM 112 that records programs and data, and a RAM 113 for temporarily expanding data. The CPU 111 reads out a system program recorded in the ROM 112 via a bus and calculates a threshold value in accordance with the system program.

[0050] The nonvolatile memory 114 is backed up by, for example, a battery (not shown), and thus retains its stored state even when the power to the cycle type determination device 100 is turned off. The nonvolatile memory 114 stores various data, such as programs read from the external device 120 via the interfaces 115, 118, and 119, and operation inputs input via the input device 20. The nonvolatile memory 114 may also store programs and data for executing the cycle type determination device 100 of this embodiment.

[0051] The interface 115 is an interface for connecting the cycle type determination device 100 to an external device 120 such as an adapter. Programs, various parameters, and the like are loaded from the external device 120. The interface 118 is an interface for connecting the cycle type determination device 100 to a display device 30 such as a liquid crystal display. The display device 30 displays various data loaded into memory, data obtained as a result of executing programs, and the like. The interface 119 is an interface for connecting the cycle type determination device 100 to an input device 20 such as a keyboard or pointing device. The input device 20 passes commands, data, and the like based on operations by an operator to the CPU 111 via the interface 119.

[0052] Although the present disclosure has been described in detail, the present disclosure is not limited to the individual embodiments described above. Various additions, substitutions, modifications, partial deletions, etc. are possible in these embodiments without departing from the gist of the present disclosure or the gist of the present disclosure derived from the claims and their equivalents. Furthermore, these embodiments can also be implemented in combination. For example, in the above-described embodiments, the order of each operation and the order of each process are shown as examples and are not limited to these.

[0053] The following supplementary notes are further disclosed regarding the above embodiment and modified examples. (Supplementary Note 1) A cycle type determination device (100) includes a command determination unit (1) that searches for cycle commands included in a machining program, a command format storage unit (2) that stores command formats of cycle commands, a type determination unit (4) that determines the type of cycle from arguments of the cycle commands included in the machining program and at least one of a specified value of the argument, the presence or absence of an argument, and the order of the arguments defined in the command format of the cycle command, and an information display unit (5) that displays the determined cycle type and the arguments of the cycle command. (Supplementary Note 2) The command format storage unit (2) stores multiple command formats associated with one cycle command. (Supplementary Note 3) The command format defines the cycle command, the cycle type, arguments, specified values ​​of the arguments, and the order of the arguments. (Supplementary Note 4) The information display unit (5) displays an image indicating the type of cycle. (Supplementary Note 5) The information display unit (5) displays the meaning of the arguments of the cycle command. (Supplementary Note 6) The cycle type determination device (100) includes a change receiving unit that receives changes to the arguments displayed by the information display unit (5) and reflects the changes in the machining program. (Supplementary Note 7) The cycle type determination device (100) includes a change receiving unit (6) that receives changes to the arguments displayed by the information display unit (5), and the information display unit (5) displays an image of the cycle type corresponding to the argument. (Supplementary Note 8) The change receiving unit (6) receives at least one of a change in the command value of an argument, an addition of an argument, a deletion of an argument, and a change in the order of arguments. (Supplementary Note 9) The computer-readable storage medium (112, 113, 114) stores instructions to cause one or more processors (111) to execute processing to search for cycle commands included in the machining program, determine the type of cycle from arguments of the cycle commands included in the machining program and at least one of the specified values ​​of the arguments, the presence or absence of arguments, and the order of the arguments, which are defined in the command format of the cycle commands, and display the determined type of cycle and the arguments of the cycle commands.

[0054] REFERENCE SIGNS LIST 100 Cycle type determination device 1 Machining program storage unit 2 Command format storage unit 3 Command determination unit 4 Type determination unit 5 Information display unit 6 Change acceptance unit 111 CPU 112 ROM 113 RAM 114 Non-volatile memory

Claims

1. A cycle type determination device comprising: a command determination unit that searches for cycle commands included in a machining program; a command format storage unit that stores the command formats of cycle commands; a type determination unit that determines the type of cycle from at least any one of the arguments of the cycle commands included in the machining program, the specified values of the arguments, the presence or absence of the arguments, and the order of the arguments defined by the command format of the cycle commands; and an information display unit that displays the determined type of cycle and the arguments of the cycle command.

2. The cycle type determination device according to claim 1, wherein the command format storage unit stores a plurality of command formats associated with one cycle command.

3. The cycle type determination device according to claim 1, wherein the command format defines a cycle command, a type of cycle, an argument, a specified value of the argument, and an order of the arguments.

4. The cycle type determination device according to claim 1, wherein the information display unit displays an image indicating the type of cycle.

5. The cycle type determination device according to claim 1, wherein the information display unit displays the meaning of the arguments of the cycle command.

6. The cycle type determination device according to claim 1, further comprising a change reception unit that receives changes to the arguments displayed by the information display unit and reflects the changes in the machining program.

7. The cycle type determination device according to claim 1, comprising a change reception unit that receives changes to the arguments displayed by the information display unit, and wherein the information display unit displays an image of the type of cycle corresponding to the argument.

8. The cycle type determination device according to claim 6 or 7, wherein the change reception unit receives at least any one of a change in the command value of the argument, an addition of an argument, a deletion of an argument, and a swapping of the order of the arguments.

9. A computer-readable storage medium storing instructions for causing one or more processors to execute a process of searching for cycle commands included in a machining program, determining the type of cycle from at least any one of the arguments of the cycle commands included in the machining program, the specified values of the arguments, the presence or absence of the arguments, and the order of the arguments defined by the command format of the cycle commands, and displaying the determined type of cycle and the arguments of the cycle command.

Citation Information

Patent Citations

  • Fixed cycle command preparation supporting method and nc device

    JP2002126975A

  • Simulation device for numerical value-controlling device

    JP2014016982A

  • Numerical control device capable of partially correcting processing cycle

    JP2016139349A

  • Numerical control device

    JP2017102766A

  • Program editing device and program

    JP2022132726A