Cycle type determination device and computer-readable storage medium
The cycle type determination device analyzes cycle commands in machining programs to resolve ambiguity by determining cycle types based on arguments, presence, and order, improving operational clarity.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- FANUC LTD
- Filing Date
- 2023-12-21
- Publication Date
- 2026-05-15
AI Technical Summary
Existing technologies lack a device for accurately determining the type of cycle commands in machining programs, which can be associated with multiple types, leading to ambiguity and difficulty in understanding the operations.
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 to analyze the cycle commands based on their arguments, presence, absence, and order, and display the determined cycle type.
The device accurately determines the type of cycles in machining programs, even with complex commands, enhancing understanding and clarity of the machining operations.
Smart Images

Figure JP2023045974_15052026_PF_FP_ABST
Abstract
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] The machining program of the numerical control device is composed of codes and arguments. The codes include preparatory functions (G codes), auxiliary functions (M codes), spindle functions (S codes), feed functions (F codes), tool functions (T codes), and the like. The machining program is a set of blocks consisting of combinations of codes and arguments.
[0003] Some of the codes are called cycle commands. A cycle command is a collection of a predetermined series of operations. When using a cycle command, a machining program of several blocks such as axis movement of a tool, coordinate setting, and rotation of a spindle can be created in one block. For example, Patent Document 1.
[0004] Japanese Patent Application Laid-Open No. 2017-102766
[0005] The code of the cycle command and the type of cycle do not necessarily correspond one-to-one. Depending on the combination of the code and arguments of the cycle command, multiple types of cycles may be associated with one cycle command. In that case, there is no device for accurately determining the type of cycle.
[0006] Therefore, even if multiple types of cycles are associated with one cycle command, it is desired 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 a cycle command included in a machining program, a command format storage unit that stores a command format of the cycle command, an argument of the cycle command included in the machining program, and a type determination unit that determines the type of cycle from at least any one of a specified value of the argument, presence or absence of the argument, and order of the arguments defined by the command format of the cycle command, and an information display unit that displays the determined type of cycle and the argument of the cycle command.
[0008] This is a block diagram of the cycle type determination device. This diagram explains the configuration of the machining program. This schematic diagram explains the process of determining the type of cycle from a single command value. This is an example of a display screen explaining the cycle type "Cylinder Measurement". This schematic diagram explains the process of determining the type of cycle from multiple command values. This is an example of a display screen explaining the cycle type "Inner Diameter Roughing Cycle". This schematic diagram explains the process of determining the type of cycle within a range of command values. This is an example of a display screen explaining the cycle type "Drill Cycle". This schematic diagram explains the process of determining the type of cycle based on the presence or absence of an argument command. This is an example of a display screen explaining the cycle type "Inner Width Measurement". This schematic diagram explains the process of determining the type of cycle from a combination of argument command values and the presence or absence of an argument command. This is an example of a display screen explaining the cycle type "Calibration". This schematic diagram explains the process of determining the type of cycle from the order of arguments. This is an example of a display screen explaining the cycle type "Cutting Cycle". This is a flowchart explaining the operation of the type determination unit. This is a block diagram of the cycle type determination device of the second embodiment. This is an example of a display screen that accepts changes to arguments. This is an example of a display screen that accepts additions to arguments. This is an example of a display screen that accepts changes in the order of arguments. This is a hardware configuration diagram of the cycle type determination device.
[0009] (First Embodiment) The cycle type determination device 100 of the first embodiment will be described below. The cycle type determination device 100 determines the type of cycle from the cycle command of the machining program.
[0010] Figure 1 is a block diagram of the cycle type determination device 100. The cycle type determination device 100 comprises a processing 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 storage unit 1 stores the machining program. The machining program has its own unique syntax. The structure of the machining program will be explained with reference to Figure 2. The machining program is composed of words. A word is a combination of letters and numbers called an address. A set of words separated by semicolons, etc., is called a block. A block corresponds to a line of the machining program. A word has a code and arguments. One type of code, the G-code, commands the movement of the tool axis, coordinate setting, rotation, machining method, etc. G-codes include cycle commands (including macro commands). A cycle command is a combination of multiple commands, commanding a predetermined series of operations in one block.
[0012] The command format storage unit 2 stores the format of the cycle command. The format of the cycle command consists of the cycle command (G code) and arguments. The command format defines the cycle command, the type of cycle, the arguments, the definition of the arguments, and the order of the arguments.
[0013] Figures 3, 5, 7, 9, 11, and 13 are schematic diagrams illustrating the processing of the command determination unit 3 and the type determination unit 4. Figure 3 is an example of determining the type of cycle from the command value of the argument of the cycle command (1-1). In this example, the type of cycle is determined from one argument "A". The cycle command "G300" can command two types of cycles. The type of command is determined by the format. The command format storage unit 2 stores the cycle type and the command format in association.
[0014] The processing program to be judged is "G300 A1.B20.C10.D10.L-5.R15.F20.U1.". The command judgment unit 3 judges the processing program code "G300" to be a cycle command. The command format for the cycle command "G300" is shown below. Measurement of a cylinder: G300 A1. B_C_D_L_R_F_U_ Measurement of a rectangular prism: G300 A2. B_C_D_L_R_F_U_ Note that the format of the command is not limited. It may be stored in a table format (see Figures 3, 5, 7, 9, 11, and 13).
[0015] The type determination unit 4 determines the type of cycle from the arguments of the cycle command "G300". The determination criteria include (1) the command value of the argument, (2) the presence or absence of the 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 type, cycle command, argument, and default value. In the example in Figure 3, when the command value of argument "A" is the default value "1," the cycle type is determined to be "cylinder measurement," and when the command value of argument "A" is the default value "2," it is determined to be "rectangular prism measurement."
[0017] The information display unit 5 displays a list of the determined cycle type and the cycle command arguments. Figure 4 is an example of the display. The display screen shows the cycle type "Measurement of a cylinder", the argument addresses, and the meaning of the arguments. The meaning of the argument address "A" is "Measurement type", "B" is "X-axis center position", "C" is "Y-axis center position", "D" is "Outer diameter", "L" is "Measurement position height", "R" is "Approach distance", "F" is "Measurement speed", and "U" is "Number of measurement points".
[0018] Figure 5 shows an example of determining the type of cycle from the command values of multiple arguments (1-2). 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 roughing cycle: G800 A1. B1. R_P_Q_F_S_ Outer diameter semi-finishing cycle: G800 A1. B2. R_P_Q_F_S_ Inner diameter roughing 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 type of cycle based on the command format. In the example in Figure 5, the type of cycle is determined by the combination of the two arguments "A" and "B". Specifically, when the command values of arguments "A" and "B" are "1" and "1", the type of cycle is an "outer diameter roughing cycle", when the command values are "1" and "2", the type of cycle is an "outer diameter semi-finishing cycle", when the command values are "2" and "1", the type of cycle is an "inner diameter roughing cycle", and when the command values are "2" and "2", the type of cycle is an "inner diameter semi-finishing cycle".
[0020] The type determination unit 4 determines that the type of cycle in the machining program "G800 A2.B1.R1.P10Q20F20.S800" is "internal diameter roughing cycle". The information display unit 5 displays the determined cycle type and the cycle command arguments in a list. Figure 6 is an example of the display screen. The display screen shows the cycle type "internal diameter roughing cycle", the argument addresses, and the meaning of the arguments. The meaning of the argument address "A" is "internal diameter / outer diameter", "B" is "roughing / semi-finishing", "R" is "relief amount", "P" is "finishing shape start N number", "Q" is "finishing shape end N number", "F" is "feed rate command", and "S" is "spindle speed command".
[0021] Figure 7 shows an example of determining the type of cycle 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 for 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 in Figure 7, when the command value of argument "Z" is within the specified range "-10. < Z < 10.", the type of cycle is a "drill cycle", and when the command value is within the specified range "-10. ≥ Z, Z ≤ 10.", the type of cycle is a "deep hole drilling cycle".
[0023] The type determination unit 4 determines that the type of cycle in the machining program "G65 P1000 X50.Y50.Z-5.R2.F20." is "Drill Cycle" because the command value of argument "Z" is "-5.". The information display unit 5 displays the determined type of cycle and the arguments of the cycle command in a list. Figure 8 is an example of the display screen. The display screen shows the type of cycle "Drill Cycle," the argument addresses, and the meaning of the arguments. The meaning of the argument address "X" is "Hole position data," the meaning of "Y" is "Hole position data," the meaning of "Z" is "Distance from point R to the bottom of the hole," the meaning of "R" is "Distance from the initial level to point R," and the meaning of "F" is "Cutting feed rate."
[0024] Figure 9 shows an example of determining the type of cycle based on the presence or absence of the argument command (2). 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 for the cycle command "G400" is as follows: Measurement of inner width: G400 B_C_D_L_R_F_U_ Measurement of outer width: 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 in Figure 9, if the argument of the cycle command "G400" is "B_C_D_L_R_F_U_", the type of cycle is determined to be "measurement of inner width", and if the argument is "B_C_D_E_L_R_F_U", it is determined to be "measurement of outer width". In other words, the type of cycle is determined by the presence or absence of the argument "E".
[0026] The type determination unit 4 determines that the type of cycle in the machining program "G400 B20.C10.D10.L-5.R15.F20.U1." is "Inner width measurement". The information display unit 5 displays the determined cycle type and the arguments of the cycle command in a list. Figure 10 is an example of the display screen. The display screen shows the cycle type "Inner width measurement", the argument addresses, the meaning of the arguments, and the command values. The meaning of the argument address "B" is "X-axis center position", "C" is "Y-axis center position", "D" is "groove width", "L" is "measurement position height", "R" is "approach distance", "F" is "measurement speed", and "U" is "number of measurement points".
[0027] Figure 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 the argument command. The machining program to be determined is "G500 C1.S20.Z10.". The command determination unit 3 determines that the machining program code "G500" 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 in Figure 11, if the cycle command "G500" has arguments "C" and "Z", and the command value of argument "C" is the specified value "1", then the type of cycle is "Calibration (probe length)". If the arguments "C", "S", and "Z" are present, and the command value of argument "C" is the specified value "2", then the type of cycle is "Calibration (reference sphere)". If the arguments "C", "S", and "Z" are present, and the command value of argument "C" is the specified value "1", then the type of cycle is "Calibration (probe center deviation)".
[0029] The type determination unit 4 determines that the type of cycle in the machining program "G500 C1.S20.Z10." is "calibration (probe center misalignment)".
[0030] The information display unit 5 displays a list of the determined cycle type and the cycle command arguments. Figure 12 is an example of the display screen. The display screen shows the cycle type "Calibration (Probe Center Offset)", the argument addresses, and the meaning of the arguments. The meaning of the argument address "C" is "Calibration Target", "S" is "Reference Workpiece Diameter", and "Z" is "Measurement Position Height". The machining program to be determined is "G700 A80.B-20.X60.Z-40.F20.".
[0031] Figure 13 shows an example of determining the type of cycle from the order of the arguments (3). The command determination unit 3 determines that the machining program code "G700" is a cycle command. The command format of the cycle command "G700" is as follows: Cutting cycle (approach in the X direction followed by an approach in the Z direction): G700 A_B_X_Z_F_ A: X direction approach point Cutting cycle (approach in the Z direction followed by an approach in the 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 in Figure 13, the type of cycle is determined by the order of the two arguments "A" and "B". Specifically, if the order of the arguments is "A", "B", "X", "Z", "F", the type of cycle is "cutting cycle (approach in the X direction followed by an approach in the Z direction)". If the order of the arguments is "B", "A", "X", "Z", "F", the type of cycle is "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 in the machining program "G700 A80.B-20.X60.Z-40.F20." is "cutting cycle (approach in the X direction followed by an approach in the Z direction)".
[0034] The information display unit 5 displays a list of the determined cycle type and the cycle command arguments. Figure 14 is an example of the display screen. The display screen shows the cycle type "Cutting cycle (X-direction approach followed by Z-direction approach)", the argument addresses, and the meaning of the arguments. Alternatively, as in the 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 explained with reference to the flowchart in Figure 15. The type determination unit 4 compares a block of the machining program containing a cycle command with the command format. Multiple command formats exist for a single cycle command. The type determination unit 4 compares each of 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 and the combination of arguments in the machining program are different (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, and the order of the elements does not matter. In other words, a different combination of arguments means that the number of arguments or the type (alphabetical characters) of the arguments are different. If the arguments in the command format and the arguments in the machining program are the same (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 the arguments in the command format matches the order of the arguments in the processing program (Step S2; No), the type determination unit 4 determines whether or not a default value is set for the arguments in the command format. If a default value is not set for the arguments (Step S3; No), the type determination unit 4 determines the type of cycle set in the command format (Step S4).
[0038] If a default value is set for the argument (step S3; Yes), the type determination unit 4 compares the command value of the argument in the processing program with the default value of the argument in the command format. The default value is the value or range of values set in the command format. The default value is associated with the type of cycle. The type of cycle is determined by the default value.
[0039] If the command value of the processing program argument differs from the default value of the command format argument (Step S5; Yes), the type determination unit 4 reads the next command format. If the command value of the processing program argument conforms to the default value of the command format argument (Step S5; No), the type of cycle set in the command format is determined (Step S4).
[0040] The type determination unit 4 repeats the process from step S1 to step S5 by changing the command format until a command format that matches the processing program is detected.
[0041] As described above, the cycle type determination device 100 of the first embodiment stores the command format of the cycle command. If there is no one-to-one correspondence between the cycle command and the 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. Even with complex cycle commands where the cycle type switches depending on the command values of the arguments, the presence or absence of arguments, and the command order, the cycle type determination device 100 automatically determines the cycle type and assists in understanding the contents of the machining program.
[0042] (Second Embodiment) Figure 16 is a block diagram of the cycle type determination device 100 according to the second embodiment. The cycle type determination device 100 according to the second embodiment includes a processing 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 configuration as the cycle type determination device 100 of the first embodiment will be omitted from the explanation.
[0043] The information display unit 5 displays the type of cycle as an image. Figure 17 is an example of the display screen.
[0044] The change reception unit 6 receives changes to the command values of the arguments. The change reception 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 the argument "B" is changed from "20." to "50.". The change reception 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 also change due to a change in the argument. In the cycle command "G300", when the command value of the argument "A" changes from "1." to "2.", the type of cycle changes from "cylindrical measurement" to "quadrangular prism measurement". The information display unit 5 changes the cycle image according to the change in the type of cycle. Also, if necessary, the display of the meaning of the argument is changed.
[0046] The change reception unit 6 receives the addition of an argument. FIG. 18 is an example of a screen for receiving the addition of an argument. In the cycle command "G400", when the argument "E" is not included, the type of cycle is "inner width measurement", and when the argument "E" is included, the type of cycle is "outer width measurement". In the example of FIG. 18, when the type of cycle is "inner width measurement", the "+" icon and the character of the argument "E" are displayed. When the "+" icon is selected, the argument "E" is added. Note that a "-" icon may be displayed so that an argument can be deleted. When the argument "E" is added, the information display unit 5 changes the type of cycle from "inner width measurement" to "outer width measurement". Accordingly, the cycle image is changed from "inner width measurement" to "outer width measurement". The change reception unit 6 reflects the change in the argument in the machining program.
[0047] The change reception unit 6 receives a change in the order of arguments. FIG. 19 is an example of a screen for receiving a change in the order of arguments. In the cycle command "G700", when the order of the arguments "A" and "B" is swapped, the type of cycle changes. In the example of FIG. 19, an "up and down arrow" icon is displayed near the arguments "A" and "B". When the "up and down arrow" icon is selected, the order of the arguments "A" and "B" is swapped. When the order of the arguments "A" and "B" is swapped, the type of cycle changes. The information display unit 5 changes the image of the cycle according to the order of the arguments. The change reception unit 6 reflects the change in order in the machining program.
[0048] As described above, when a plurality of types of cycles are associated with one cycle command, the cycle type determination device 100 of the second embodiment determines the type of cycle from the argument structure and displays the type of cycle as an image. Further, it receives a change in the argument and reflects the change in the argument in the machining program. The changes include a change in the command value of the argument, addition of an argument, deletion of an argument, and swapping of the order of the arguments. The information display unit 5 reflects the change in the argument in the image. Thereby, even when a plurality of types of cycles of one cycle command are associated, the type of cycle, the commandable arguments, and the meaning of each argument can be visually confirmed.
[0049] Hereinafter, the hardware configuration of the cycle type determination device 100 to which the present disclosure is applied will be described. 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 the system program recorded in the ROM 112 via a bus and calculates a threshold value according to the system program.
[0050] The non-volatile memory 114 is backed up, for example, by a battery (not shown), so that its stored state is maintained even when the power to the cycle type determination device 100 is turned off. Various data such as programs read from the external device 120 via interfaces 115, 118, and 119, and operation inputs input via the input device 20 are stored in the non-volatile memory 114. The non-volatile memory 114 may also store programs and data for executing the cycle type determination device 100 of this embodiment.
[0051] Interface 115 is an interface for connecting the cycle type determination device 100 to an external device 120 such as an adapter. Programs and various parameters are read from the external device 120. 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 data read into memory, data obtained as a result of executing programs, etc. 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, etc. based on operator operations to the CPU 111 via interface 119.
[0052] While this disclosure has been described in detail, it is not limited to the individual embodiments described above. These embodiments can be added, replaced, modified, partially deleted, etc., in any way that does not depart from the gist of this disclosure or from the spirit of this disclosure derived from the claims and their equivalents. These embodiments can also be implemented in combination. For example, the order of operations and processes in the embodiments described above are given as examples only and are not limited thereto.
[0053] The following additional notes are disclosed regarding the above embodiments and modifications. (Note 1) The 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 the command format of a cycle command, a type determination unit (4) that determines the type of cycle from the arguments of the cycle command included in the machining program and at least one of the default values of the arguments, the presence or absence of arguments, or the order of the arguments as defined in the command format of the cycle command, and an information display unit (5) that displays the determined type of cycle and the arguments of the cycle command. (Note 2) The command format storage unit (2) stores a plurality of command formats associated with one cycle command. (Note 3) The command format defines a cycle command, a type of cycle, arguments, default values of the arguments, and the order of the arguments. (Note 4) The information display unit (5) displays an image indicating the type of cycle. (Note 5) The information display unit (5) displays the meaning of the arguments of the cycle command. (Note 6) The cycle type determination device (100) includes a change acceptance unit that accepts changes to the arguments displayed by the information display unit (5) and reflects the changes in the processing program. (Note 7) The cycle type determination device (100) includes a change acceptance unit (6) that accepts 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 arguments. (Note 8) The change acceptance unit (6) accepts at least one of the following: changes to the command values of the arguments, addition of arguments, deletion of arguments, and rearrangement of the order of arguments. (Note 9) The computer-readable storage medium (112, 113, 114) stores instructions for one or more processors (111) to search for cycle commands included in the machining program, determine the type of cycle from the arguments of the cycle commands included in the machining program and at least one of the default values of the arguments, the presence or absence of arguments, or the order of the arguments as defined in the instruction format of the cycle commands, and to display the determined type of cycle and the arguments of the cycle commands.
[0054] 100 Cycle Type Determination Device 1 Processing 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 for searching for cycle commands included in a machining program; a command format storage unit for storing the command format of a cycle command; a type determination unit for determining the type of cycle based on the arguments of the cycle command included in the machining program and at least one of the default values of the arguments, the presence or absence of arguments, or the order of the arguments as defined in the command format of the cycle command; and an information display unit for displaying 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 a single cycle command.
3. The cycle type determination device according to claim 1, wherein the command format defines a cycle command, a cycle type, arguments, a specified value for the arguments, and the 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 processing program.
7. The cycle type determination device according to claim 1, further comprising a change acceptance unit that accepts changes to arguments displayed by the information display unit, wherein the information display unit displays an image of the cycle type corresponding to the argument.
8. The cycle type determination device according to claim 6 or 7, wherein the change receiving unit accepts at least one of the following: a change in the command value of an argument, an addition of an argument, a deletion of an argument, or a change in the order of arguments.
9. A computer-readable storage medium that stores instructions for one or more processors to search for cycle commands included in a machining program, determine the type of cycle from the arguments of the cycle commands included in the machining program and at least one of the default values of the arguments, the presence or absence of arguments, or the order of the arguments as defined in the instruction format of the cycle commands, and to display the determined type of cycle and the arguments of the cycle commands.