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 and order, resolving ambiguity in multi-type commands, and supports argument changes for clearer program comprehension.

JP7606049B1Active Publication Date: 2024-12-24FANUC LTD

Patent Information

Application Number
JP2024520545
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-12-21
Publication Date
2024-12-24
Estimated Expiration
2043-12-21

AI Technical Summary

Technical Problem

Existing systems fail to accurately determine the type of cycle command in machining programs due to the lack of a one-to-one correspondence between cycle command codes and cycle types, leading to ambiguity in interpreting multiple types associated with a single command.

Method used

A cycle type determination device that includes a command determination unit to search for cycle commands, a command format storage unit to store and compare argument values, and a type determination unit to accurately identify the cycle type based on default argument values, combinations, and order, displayed through an information display unit.

Benefits of technology

The device enables precise determination of cycle types in machining programs, even when multiple types are associated with a single command, by analyzing argument values, presence/absence, and order, providing clear visual displays and supporting changes to arguments for enhanced understanding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007606049000001
    Figure 0007606049000001
  • Figure 0007606049000002
    Figure 0007606049000002
  • Figure 0007606049000003
    Figure 0007606049000003
Patent Text Reader

Abstract

The cycle type determination device searches for cycle commands included in the machining program, 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 command, and displays the determined cycle type and the arguments of the cycle command.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

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

[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), tool functions (T code), etc. A machining program is a collection of blocks consisting of combinations of codes and arguments.

[0003] Some codes are called cycle commands. 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. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2017-102766 A Summary of the Invention [Problem to be solved by the invention]

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

[0006] Therefore, even if multiple types of cycles correspond to one cycle command, it is desirable to accurately determine the type of cycle. [Means for solving the problem]

[0007] The 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, and Define default argument values, argument combinations, and / or argument order for each cycle type. A command format storage unit that stores a command format, an argument of a cycle command included in the machining program, and a command format of the cycle command By comparing with The system includes a type determination unit that determines the type of cycle, and an information display unit that displays the determined type of cycle and an argument of the cycle command. [Brief description of the drawings]

[0008] [Figure 1] FIG. 2 is a block diagram of a cycle type determination device. [Diagram 2] FIG. 4 is a diagram for explaining a configuration of a machining program. [Diagram 3] FIG. 11 is a schematic diagram illustrating a process for determining the type of cycle from one command value. [Figure 4] 13 is an example of a display screen illustrating a cycle type "Cylinder Measurement." [Diagram 5] 11A and 11B are schematic diagrams illustrating a process of determining a cycle type from a plurality of command values. [Figure 6] 13 is an example of a display screen explaining a cycle type "inner diameter rough cutting cycle." [Figure 7] 13A and 13B are schematic diagrams illustrating a process of determining the type of cycle within a range of a command value. [Figure 8] 13 is an example of a display screen explaining a cycle type "drill cycle." [Figure 9] 11A and 11B are schematic diagrams illustrating a process of determining the type of cycle based on the presence or absence of an instruction in an argument. [Figure 10] 13 is an example of a display screen illustrating a cycle type "inner width measurement." [Figure 11] 13 is a schematic diagram illustrating a process of determining the type of cycle from a combination of an argument command value and the presence or absence of an argument command. FIG. [Figure 12]13 is an example of a display screen explaining a cycle type "calibration." [Figure 13] FIG. 13 is a schematic diagram illustrating a process for determining the type of cycle from the order of arguments. [Figure 14] 13 is an example of a display screen for explaining a cycle type "cutting cycle." [Figure 15] 13 is a flowchart illustrating an operation of a type determination unit. [Figure 16] FIG. 6 is a block diagram of a cycle type determination device according to a second embodiment. [Figure 17] 13 is an example of a display screen that accepts a change in an argument. [Figure 18] 13 is an example of a display screen that accepts addition of an argument. [Figure 19] 13 is an example of a display screen that accepts rearrangement of the order of arguments. [Figure 20] FIG. 2 is a hardware configuration diagram of the cycle type determination device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] (First embodiment) Hereinafter, a description will be given of the cycle type determination device 100 according to the 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 storage unit 1 stores machining programs. Machining programs have their own unique grammar. The configuration of a machining program will be explained with reference to Fig. 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 separators is called a block. A block corresponds to a line in a machining program. A word consists of a code and an argument. G-code, which is one type of code, commands tool axis movement, coordinate settings, rotation, machining methods, etc. G-code includes cycle commands (including macro commands). Cycle commands combine multiple commands into one, and instruct 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 type of cycle, the arguments, the rules for the arguments, and the order of the arguments.

[0013] 3, 5, 7, 9, 11, and 13 are schematic diagrams for explaining the processing of the command determination unit 3 and the type determination unit 4. Figure 3 shows an example of judging the cycle type from the argument command value of the (1-1) cycle command. In this example, the cycle type is judged 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 with each other.

[0014] The machining program to be judged is "G300 A1.B20.C10.D10.L-5.R15.F20.U1." The command determination unit 3 determines that the code "G300" in the machining program is a cycle command. The command format for the cycle command "G300" is shown below. Cylinder measurement: G300 A1.B_C_D_L_R_F_U_ Measurement of square pillar: G300 A2.B_C_D_L_R_F_U_ The command format is not limited to a specific format, and may be stored in a table format (see FIGS. 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 an argument command, 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] Type determination unit 4 stores combinations of cycle type, cycle command, argument, and specified value. 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 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 shows the cycle type "Cylinder measurement", the argument address, and the argument meaning. 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 shows 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 code "G800" in the machining program is a cycle command. The command format for the cycle command "G800" is shown below. External rough cutting cycle: G800 A1.B1.R_P_Q_F_S_ External diameter semi-finishing cycle: G800 A1.B2.R_P_Q_F_S_ Internal rough cutting cycle: G800 A2.B1.R_P_Q_F_S_ Internal 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 of Fig. 5, the type of cycle is determined by the combination of two arguments "A" and "B". Specifically, when the command values ​​for 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 the display screen. The display screen displays the cycle type "inner diameter rough cutting cycle", the argument addresses, and the meanings of the arguments. The argument address "A" means "inner diameter / outer diameter", "B" means "rough / semi-finish", "R" means "escape amount", "P" means "finish shape start N number", "Q" means "finish shape end N number", "F" means "feed speed command", and "S" means "spindle speed command".

[0021] FIG. 7 shows an example of determining the type of cycle within the range of the command value (1-3). The command determination unit 3 determines that the code "G65 P1000" of the machining program 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 the cycle command (actually, the 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 type of the cycle is "drill cycle", and when the command value is within the specified range "-10. ≧ Z, Z ≦ 10.", the type of the cycle is "deep hole drilling cycle".

[0023] Since the command value of the argument "Z" of the type determination unit 4 is "-5.", it is determined that the type of the cycle of the machining program "G65 P1000 X50.Y50.Z-5.R2.F20." is "drill cycle". The information display unit 5 displays a list of the determined cycle type and the arguments of the cycle command. FIG. 8 is an example of the display screen. On the display screen, the cycle type "drill cycle", the argument address, and the meaning of the argument are displayed. 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 the R point to the bottom of the hole", the meaning of "R" is "distance from the initial level to the R point", and the meaning of "F" is "cutting feed rate".

[0024] FIG. 9 is an example of determining the cycle type based on the presence or absence of the command of the (2) argument. The command determination unit 3 determines the code "G400" of the machining program as 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. 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 the 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 type of the cycle of the machining program "G400 B20.C10.D10.L-5.R15.F20.U1." is "measurement of inner width." 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 the display screen. The display screen displays the cycle type "inner width measurement", the argument address, 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 judging the cycle type 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 judged 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 for the cycle command "G500" is as follows: Calibration (probe length): G500 C1.Z_ Calibration (probe center offset): G500 C1.S_Z_ Calibration (reference ball): 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 determination unit 4 determines that the type of the 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 work diameter", and "Z" means "measurement position height". The machining program to be determined is "G700 A80.B-20.X60.Z-40.F20.".

[0031] FIG. 13 shows 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 for the cycle command "G700" is as follows: Cutting cycle (approach in the X direction followed by approach in the Z direction) :G700 A_B_X_Z_F_ A:X direction approach point Cutting cycle (Z-direction approach followed by X-direction approach) :G700 B_A_X_Z_F_ B:Z direction approach point

[0032] The type determination unit 4 determines the type of the 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 "Cutting cycle (approach in the X direction, then approach in the Z direction)". If the argument order is "B", "A", "X", "Z", and "F", the cycle type is "Cutting cycle (approach in the Z direction, then approach in the X direction)".

[0033] The type determination unit 4 determines that the cycle type of the machining program "G700 A80.B-20.X60.Z-40.F20." is "cutting cycle (Z direction approach after X 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 the 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 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 described with reference to the flow chart of FIG. The type determination unit 4 compares a block of a machining program including a cycle command with the 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 out. The combination in step S1 means a mathematical combination. A mathematical combination means 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 arguments (alphabet) is different. If the arguments in the command format and the arguments in the machining program match (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 differs (step S2; Yes), the next command format is read out.

[0037] When the order of arguments in the command format and the order of arguments in the machining program match (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 in 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 corresponds to the type of cycle. The type of cycle is determined by the specified value.

[0039] When the command value of the argument of the machining program is different from the specified value of the argument of the command format (step S5; Yes), the type determination unit 4 reads out the next command format. When the command values ​​of the arguments of the machining program match the specified values ​​of the arguments of 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 processes 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 argument of the cycle command and the command value of the argument. 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 argument command value, the presence or absence of arguments, and the command order, and supports understanding of the contents of the machining program.

[0042] Second Embodiment 16 is a block diagram of a cycle type determination device 100 of the second embodiment. The cycle type determination device 100 of 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 reception unit 6. Note that the same components as those of the cycle type determination device 100 of the first embodiment will be omitted in the description.

[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 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 changes to the command values. 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 to 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 cylinder" to "Measurement of a rectangular prism." The information display unit 5 changes the cycle image according to the change in cycle type. It also changes the display of the meaning of the argument as necessary.

[0046] The change receiving unit 6 receives the addition of an argument. Fig. 18 shows an example of a screen for receiving 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 Figure 18, when the cycle type is "inner width measurement", a "+" icon and the letter "E" argument are displayed. When the "+" icon is selected, the argument "E" is added. Note that a "-" icon may be displayed so that the argument can 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 receiving unit 6 reflects the change in the argument in the machining program.

[0047] The change receiving unit 6 receives a change to the order of arguments. Fig. 19 shows an example of a screen for receiving a change to the order of arguments. In the cycle command "G700," if the order of arguments "A" and "B" is swapped, the cycle type changes. In the example of Figure 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. 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 acceptance unit 6 reflects the change in the order in the machining program.

[0048] As described above, when multiple types of cycles correspond to 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, the system accepts changes to arguments and reflects the changes in the arguments 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 change in the arguments in the image. This allows the user to visually confirm the type of cycle, the arguments that can be commanded, and the meaning of each argument, even if multiple types of cycles correspond to one cycle command.

[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, and the CPU 111 reads out a system program recorded in the ROM 112 via a bus and calculates a threshold value according to the system program.

[0050] The nonvolatile memory 114 is backed up by, for example, a battery (not shown) so that the stored state is maintained 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 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 read 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 the memory, data obtained as a result of executing a program, 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, a pointing device, etc. The input device 20 passes commands, data, etc. 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 above-mentioned individual embodiments. Various additions, replacements, modifications, partial deletions, etc. are possible for these embodiments within the scope of the gist of the present disclosure, or within the scope of the gist of the present disclosure derived from the contents described in the claims and their equivalents. In addition, these embodiments can be implemented in combination. For example, in the above-mentioned 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. (Appendix 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 memory unit (2) that stores the command format of the cycle command, a type determination unit (4) that determines the type of cycle from arguments of the cycle command included in the machining program and at least one of a specified value of the argument, the presence or absence of an argument, and an order of the arguments, which are 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. (Appendix 2) The command format storage unit (2) stores a plurality of command formats associated with one cycle command. (Appendix 3) The command format defines a cycle command, a cycle type, arguments, default values ​​of the arguments, and an order of the arguments. (Appendix 4) The information display unit (5) displays an image indicating the type of cycle. (Appendix 5) The information display unit (5) displays the meaning of the arguments of the cycle command. (Appendix 6) The cycle type determination device (100) includes a change receiving unit that receives a change to the argument displayed by the information display unit (5) and reflects the change in the machining program. (Appendix 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 type of cycle corresponding to the argument. (Appendix 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. (Appendix 9) A computer-readable storage medium (112, 113, 114) stores instructions for causing one or more processors (111) to execute processing to search for cycle commands included in a 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 argument values, the presence or absence of arguments, and the order of arguments defined in the command format of the cycle commands, and display the determined type of cycle and the arguments of the cycle commands. [Explanation of symbols]

[0054] 100 Cycle Type Judgment Device 1 Machining program storage section 2 Command format memory section 3 Command judgment section 4 Type determination section 5 Information display section 6. Change Reception Department 111 CPU 112 ROM 113 RAM 114 Non-volatile memory

Claims

1. a command determination unit that searches for cycle commands included in a machining program; a command format storage unit that stores a command format that defines at least one of a prescribed value of an argument of a cycle command, a combination of arguments, and an order of arguments for each type of cycle; a type determination unit that determines a type of cycle by comparing an argument of a cycle command included in the machining program with a command format of the cycle command; an information display unit that displays the determined cycle type and an argument of the cycle command; A cycle type determination device comprising:

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

3. 2. The cycle type determination device according to claim 1, wherein the command format defines a cycle command, a cycle type, arguments, specified values ​​of the arguments, 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. 2. The cycle type determination device according to claim 1, wherein the information display unit displays the meaning of an argument of a cycle command.

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

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

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

9. One or more processors, Search for cycle commands contained in the machining program, determining a type of cycle by comparing arguments of a cycle command included in the machining program with a command format that defines at least one of a specified value of an argument of the cycle command, a combination of arguments, and an order of arguments for each type of cycle; Display the determined cycle type and the cycle command argument. A computer-readable storage medium that stores instructions for executing a process.

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

Cited By

  • Determination device, editing device, and control device

    WO2026191081A1