Numerical control unit
The numerical control apparatus optimizes conditional wait block analysis by determining condition satisfaction before proceeding, reducing processing load and enabling real-time operations with versatile condition handling.
Patent Information
- Application Number
- DE112023004499
- Authority / Receiving Office
- DE · DE
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-14
- Publication Date
- 2025-08-21
- Estimated Expiration
- 2043-03-14
AI Technical Summary
Existing numerical control devices face high analysis processing loads and limited conditions for using condition wait programs due to repeated analysis of conditional waiting blocks, especially when conditions require frequent recalculations or variable comparisons.
A numerical control apparatus that analyzes conditional wait blocks once and determines the condition satisfaction before proceeding, reducing analysis processing load by analyzing only one block per cycle and allowing conditions requiring frequent recalculations.
Reduces analysis processing load, ensuring sufficient capacity for real-time operations and handling various conditions without limiting the use of condition wait programs.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Area
[0001] The present disclosure relates to a numerical control apparatus that controls a control target by executing a numerical control program. background
[0002] A numerical control device executing a numerical control program to control a drive unit of a machine tool may sometimes suspend the execution of the numerical control program until a condition is met. Examples of conditions include the input of an external signal, which is a signal from outside the numerical control device, and the termination of operation of another system, which is a separate system from a system including the machine tool. For example, a condition wait that waits for a condition to be met is implemented by a condition wait program that includes an endless loop. For example, a condition wait program with an endless loop is a program that repeats specified processing until a predetermined condition is met.
[0003] In the conditional-wait program with the endless loop, analysis of blocks that do not involve shaft movement may be repeatedly executed during a single cycle. For example, if no blocks involving axis movement by the drive unit are included among the blocks in the program, such as in a cycle in which an interrupt signal is input, the numerical control device spends a long time on analysis processing during the single cycle, resulting in a problem of limiting the time available for executing processing other than analysis processing.
[0004] To address this problem, a numerical control apparatus disclosed in Patent Literature 1 analyzes the processing content of a condition wait block, stores an analysis result, and then performs execution processing of the condition wait block based on the stored analysis result when the execution processing is to be performed. Citation listPatent literature
[0005] Patent Literature 1: Japanese Patent Application Laid-Open No. 2003 - 108 209 Brief description of the inventionProblem to be solved by the invention
[0006] However, the above technique disclosed in Patent Literature 1 requires continued and repeated use of the analysis result obtained from the one-time analysis processing for subsequent execution processing of the conditional waiting block as long as an execution condition remains unfulfilled. Therefore, the above technique limits the conditions for which the conditional waiting program can be used. For example, the above technique cannot handle conditions that require calculation each time, such as comparing multiple external signals or comparing formula results containing variable values.
[0007] The present disclosure has been made in view of the foregoing, and an object of the present disclosure is to provide a numerical control apparatus that reduces its analysis processing load and does not limit conditions for which a condition wait program can be used. Means of solving the task
[0008] To solve the above-described problems and achieve the object, a numerical control device according to the present disclosure includes an analysis processing unit for reading a block specified by a program step counter from a numerical control program and analyzing the block, and a control processing unit for generating a command based on an analysis result of the analysis processing unit, which command drives a control target. When a conditional wait block containing a conditional expression (CW) is read,conditional expression) that specifies a condition for proceeding the execution of the numerical control program, the analysis processing unit repeatedly determines whether the condition is satisfied or not until the condition is satisfied, and the analysis processing unit analyzes the condition-wait block until the condition is satisfied before making a first and subsequent determination as to whether the condition is satisfied or not. Effects of the invention
[0009] The numerical control apparatus according to the present disclosure achieves an effect of reducing its analysis processing load and not limiting conditions for which a condition wait program can be used. Short description of the drawings Fig. 1 is a diagram illustrating an exemplary configuration of a machine tool including a numerical control apparatus according to a first embodiment. Fig. 2 is a flowchart illustrating a processing procedure executed by an analysis processing unit of the numerical control apparatus according to the first embodiment. Fig. 3 is a diagram describing exemplary processing times in a numerical control apparatus according to a comparative example related to the first embodiment. Fig. 4 is a diagram describing exemplary processing times in the numerical control apparatus according to the first embodiment. Fig. 5 is a flowchart illustrating a processing procedure executed by the analysis processing unit when a time limit is described in a condition wait block in the first embodiment. Fig. 6 is a diagram illustrating an exemplary configuration of a control circuit according to the first embodiment. Fig. 7 is a diagram illustrating an exemplary configuration of a dedicated hardware circuit according to the first embodiment. Description of the embodiment
[0010] With reference to the drawings, a detailed description will be provided below of a numerical control apparatus according to an embodiment. First embodiment
[0011] Fig. 1 is a diagram illustrating an exemplary configuration of a machine tool 20 including a numerical control device 1 according to a first embodiment. The machine tool 20 includes the numerical control device 1, an operation panel 2, a monitor 3, and a drive unit 4. The operation panel 2, the monitor 3, and the drive unit 4 are connected to the numerical control device 1. The numerical control device 1 sends commands to the drive unit 4 in accordance with descriptions in a numerical control program while communicating with the operation panel 2 and the monitor 3.
[0012] The operation panel 2 includes, for example, an input device such as a keyboard, a mouse, a keypad, or a touch panel. The operation panel 2 receives operations from a user of the machine tool 20 and transmits information indicating the contents of the operations to the numerical control device 1. Examples of the monitor 3 include, but are not limited to, a liquid crystal display (LCD) and an organic electroluminescence (EL) display. The monitor 3 displays information processed by the numerical control device 1 on a screen.
[0013] The drive unit 4 includes motor drive units 11 and servo motors 12. The motor drive units 11 drive the servo motors 12 based on the commands of the numerical control unit 1. Even if Fig. 1 represents two pairs of motor drive units 11 and servo motors 12, the number of pairs of motor drive units 11 and servo motors 12 in the drive unit 4 can be any number.
[0014] The numerical control device 1 includes a program memory 5, an analysis processing unit 6, a control processing unit 7, a drive processing unit 8, an input / output processing unit 9, and a display processing unit 10. The numerical control program is stored in the program memory 5. The numerical control program consists of several blocks.
[0015] The analysis processing unit 6 analyzes the numerical control program sequentially, block by block. The analysis processing unit 6 reads a block specified by a program counter from the numerical control program and analyzes the block. The program counter is a register that stores an address indicating the location of a block to be executed next. The analysis processing unit 6 reads the block from the location specified by the address stored in the program counter.
[0016] If the block read by the analysis processing unit 6 is a block that does not involve axis movement, the analysis processing unit 6 proceeds to read and analyze a subsequent block. If the block read by the analysis processing unit 6 is a block that involves axis movement, the analysis processing unit 6 sends an analysis result to the control processing unit 7.
[0017] The control processing unit 7 generates a command to drive the drive unit 4, which is a control target, based on the analysis result of the analysis processing unit 6. Examples of the command generated by the control processing unit 7 include, among others, target coordinates for moving by driving the drive unit 4 and the moving speed. The control processing unit 7 sends the generated command to the drive processing unit 8. The drive processing unit 8 generates commands to control the servo motors 12 based on the command generated by the control processing unit 7. The drive processing unit 8 sends the generated commands to the motor drive units 11.
[0018] The input / output processing unit 9 executes processing in a case where information is input from the operation panel 2 and the processing in a case where information is output to the operation panel 2. The display processing unit 10 executes processing in a case where information processed by the numerical control device 1 is displayed on the monitor 3. The display processing unit 10 outputs information to the monitor 3 for display and receives information input from the monitor 3. The input / output processing unit 9 or the display processing unit 10 executes processing when neither the analysis processing unit 6, the control processing unit 7, nor the drive processing unit 8 is executing their respective processing.
[0019] When a conditional wait block is read that contains a description indicating a condition for proceeding execution of the numerical control program, the analysis processing unit 6 repeatedly determines whether the condition is met or not until the condition is met. The conditional wait block describes the condition for proceeding execution of the numerical control program to a block following the conditional wait block. In the conditional wait block, a conditional expression is described that indicates the condition for proceeding execution of the numerical control program. Until the condition is met, the analysis processing unit 6 analyzes the conditional wait block, which is the block describing the conditional expression, before making its first and subsequent determinations as to whether the condition is met or not.
[0020] For example, the analysis processing unit 6 analyzes the block describing the conditional expression before making the first determination of the condition, and then analyzes the block describing the conditional expression before subsequent determinations of the condition. In this case, the analysis processing unit 6 may analyze the block describing the conditional expression before each subsequent determination of the condition, or analyze the block describing the conditional expression at least once before subsequent determinations of the condition. The analysis processing unit 6 may analyze the block describing the conditional expression alone, or the conditional expression alone.When the condition wait block is read, the analysis processing unit 6 makes the following determination without updating the program step counter when the condition is not satisfied, and updates the program step counter when the condition is satisfied.
[0021] The conditional expression may contain an operator. In this case, the analysis processing unit 6 calculates the conditional expression containing the operator. An example format of the conditional-wait block describing the conditional expression and an example of the conditional-wait block containing the operator are shown below. WAIT[conditional expression] Example: WAIT[#3013 EQ 1] (Wait until #3013 becomes 1)
[0022] Next, a description will be given of the processing performed by the analysis processing unit 6. Fig. 2 is a flowchart illustrating a procedure flow of the processing executed by the analysis processing unit 6 of the numerical control apparatus 1 according to the first embodiment.
[0023] In step S1, the analysis processing unit 6 reads a block specified by the program step counter. In step S2, the analysis processing unit 6 analyzes the block read in step S1. The analysis processing unit 6 analyzes the content of an instruction specified in the block. If a conditional expression includes an operator, the analysis processing unit 6 obtains a result of calculating the conditional expression through analysis.
[0024] In step S3, the analysis processing unit 6 determines whether the instruction content analyzed in step S2 is a conditional wait or not. In other words, the analysis processing unit 6 determines whether the block read in step S1 is a conditional wait block or not. The conditional wait block is assumed here to be a WAIT block, as shown in the above format. If the read block is the WAIT block, the analysis processing unit 6 determines that the read block is the conditional wait block. If the instruction content is a conditional wait (step S3, YES), the analysis processing unit 6 proceeds to step S4. On the other hand, if the instruction content is not a conditional wait (step S3, NO), the analysis processing unit 6 proceeds to step S5.
[0025] In step S4, the analysis processing unit 6 determines whether the conditional expression is satisfied or not. In other words, the analysis processing unit 6 makes a determination regarding the condition. If the conditional expression is satisfied (step S4, YES), the analysis processing unit 6 proceeds to step S6 in the procedure. On the other hand, if the conditional expression is not satisfied (step S4, NO), the analysis processing unit 6 terminates the processing according to the Fig. 2. If the conditional expression is not satisfied, the analysis processing unit 6 terminates the analysis processing without updating the program step counter and analyzes the conditional expression again in the subsequent analysis processing.
[0026] In step S5, the analysis processing unit 6 executes the processing specified in the instruction for the block determined not to be a conditional wait block. After completing step S5, the analysis processing unit 6 proceeds to step S6.
[0027] In step S6, the analysis processing unit 6 updates the program step counter to a block to be executed next. Next, in step S7, the analysis processing unit 6 determines whether an instruction involving an axis movement has been reached or whether a maximum number of analyses has been reached. The maximum number of analyses is preset.
[0028] If an instruction involving an axis movement has not been reached and the maximum number of analyses has not been reached (step S7, NO), the analysis processing unit 6 returns to step S1 in the procedure. The analysis processing unit 6 reads and analyses the next block. On the other hand, if an instruction involving an axis movement has been reached or the maximum number of analyses has been reached (step S7, YES), the analysis processing unit 6 terminates the processing according to the Fig. 2 procedure shown.
[0029] If the analysis processing is executed multiple times until the condition is met, the limited time available for processing other than the analysis processing would make it difficult for the numerical control unit 1 to ensure, for example, real-time updating of the screen display. Alternatively, it would be difficult to ensure real-time communication with the external devices.
[0030] According to the first embodiment, if the condition is not met, the analysis processing unit 6 ends the analysis processing without updating the program step counter. Since the analysis processing unit 6 analyzes only one block in a single analysis processing, the numerical control device 1 can reduce its analysis processing load compared to when multiple blocks need to be analyzed in a single analysis processing. By reducing the analysis processing load, the numerical control device 1 can avoid a situation where the numerical control device 1 devotes most of its processing capacity to analysis processing. Thus, the numerical control device 1 can ensure sufficient processing capacity for processing other than analysis processing.
[0031] Fig. 3 is a diagram describing exemplary processing times in a numerical control apparatus according to a comparative example related to the first embodiment. Fig. 4 is a diagram describing exemplary processing times in the numerical control device 1 according to the first embodiment. In Fig. 3 and Fig. 4, a horizontal axis represents time. In Fig. 3 and Fig. 4, each period of time during which processing is performed is represented by a hatched rectangle. In Fig. 3 and Fig. 4, analysis processing, control or drive processing, and other processing are performed in a single cycle. The term "single cycle" refers, for example, to a cycle during which an interrupt signal is input.
[0032] Fig. 4 illustrates the examples of the duration of analysis processing, the duration of control or drive processing, and the duration of other processing in the first embodiment. Analysis processing is the processing executed by the analysis processing unit 6. Control processing is the processing executed by the control processing unit 7. Drive processing is the processing executed by the drive processing unit 8. Other processing refers to any processing executed by the numerical control device 1 except for analysis processing, control processing, and drive processing. Other processing includes input / output processing, which is the processing executed by the input / output processing unit 9, and display processing, which is the processing executed by the display processing unit 10.
[0033] Fig. 3 shows an example where all blocks from an infinite loop WHILE block to an END block are analyzed in a single analysis processing. Fig. 3 shows examples of the duration of analysis processing, the duration of control or drive processing, and the duration of other processing.
[0034] In the Fig. In the comparative example shown in Figure 3, analysis processing occupies most of the processing time of the numerical control unit. Therefore, the processing time during which other processing is executed is significantly shorter than the processing time during which analysis processing is executed. On the other hand, the Fig. 4 shows the processing time during which the analysis processing is carried out, compared to the first embodiment shown in Fig. 3. Therefore, the Fig. 4 illustrated first embodiment compared to that in Fig. 3, an increase in the processing time during which the other processing is carried out.
[0035] As described above, the numerical control device 1 according to the first embodiment can reduce the analysis processing load, thereby ensuring sufficient processing capacity for other processing. By securing the processing capacity, the numerical control device 1 can ensure real-time execution of other processing. For example, the numerical control device 1 can ensure real-time execution when updating the screen display or communicating with external devices.
[0036] According to the first embodiment, when the conditional wait block is read, the analysis processing unit 6 analyzes the content of the instruction specified in the conditional wait block before making the determination of the condition, such as whether or not to continue an endless loop. Since the analysis processing unit 6 analyzes the conditional expression described in the conditional wait block before making the determination of the condition, the analysis processing unit 6 can make a determination regarding a condition requiring calculation each time. Therefore, the numerical control device 1 can implement conditional wait for various conditions. In addition, since only the block describing the conditional expression or only the conditional expression is analyzed before the determination of the condition, the number of blocks described in a conditional wait program is reduced.Reducing the number of blocks enables improved readability and maintainability of the numerical control program.
[0037] The conditional-wait block can contain a description of a time limit to wait until the condition is met. As shown below, a time limit argument can be added to the conditional-wait block: WAIT[conditional expression, time limit]
[0038] When the time limit is described, the analysis processing unit 6 stops waiting for the condition to be satisfied when the time limit expires after the waiting for the condition to be satisfied has started.
[0039] If the condition is not met within the time limit, the numerical control unit 1 may notify a unit external to the numerical control unit 1 that the condition is not met. Alternatively, the numerical control unit 1 may instruct the drive unit 4 to perform an axis movement toward a safe position if the condition is not met within the time limit. The analysis processing unit 6 may execute a predetermined program to enable such an operation if the condition is not met within the time limit. The user can specify a program of choice as the program to be executed if the condition is not met within the time limit. This allows the user to cause the numerical control unit 1 to perform an operation of choice if the condition is not met within the time limit.
[0040] Alternatively, the analysis processing unit 6 can execute a predetermined program when the condition is met. The user can specify a program of their choice as the program to be executed when the condition is met. This allows the user to cause the numerical control unit 1 to perform an operation of their choice when the condition is met. Thus, the analysis processing unit 6 can execute the predetermined program in a case where the condition is met within the time limit and / or in a case where the condition is not met within the time limit.
[0041] An example of the format of the conditional-wait block that describes the timeout and an example of the conditional-wait block that describes the timeout are shown below. The following example contains an instruction for the case that the conditional expression is met and an instruction for the case that the timeout expires. The instruction for the case that the conditional expression is met represents the specified program to be executed when the condition is met. The instruction for the case that the timeout expires represents the specified program to be executed if the condition is not met within the timeout.WAITIF[conditional expression,timeout] THEN statement for when the conditional expression is true ELSE statement for when the timeout expires Example: WAITIF[[#1031EQ1]AND[#1032EQ1], 1000] THEN GOTO210 ELSE GOTO999 N210 : N999 (Wait up to 1000 seconds for #1031 and #1032 to become 1, jump to block N210 when the condition is true, and jump to block N999 when the timeout expires.) .
[0042] Next, a description will be given of the processing that the analysis processing unit 6 executes when the time limit is described in the conditional wait block. Fig. 5 is a flowchart illustrating a procedure flow of the processing executed by the analysis processing unit 6 when the time limit is described in the condition wait block in the first embodiment. Fig. 5 shows exemplary steps that lead to the Fig. 2 can be added when a time limit is specified in a condition-wait block. This specifies both a program to be executed when the condition is met and a program to be executed if the condition is not met within the time limit.
[0043] In step S11, the analysis processing unit 6 determines whether the condition is met or not. Step S11 corresponds to step S4 of Fig. 2. If the condition is met (step S11, YES), the analysis processing unit 6 updates the program step counter to a block to be executed when the condition is met in step S12. After completion of step S12, the analysis processing unit 6 ends the processing according to the Fig. 5. The block to be executed when the condition is met is the THEN block mentioned above. After executing the THEN block, the analysis processing unit 6 executes a block following the THEN block.
[0044] On the other hand, if the condition is not satisfied (step S11, NO), the analysis processing unit 6 determines in step S13 whether the current condition wait is the first condition wait after the condition wait block was read. If the current condition wait is the first condition wait (step S13, YES), the analysis processing unit 6 starts time measurement in step S14. After completion of step S14, the analysis processing unit 6 ends the processing according to the Fig. 5. The analysis processing unit 6 continuously measures the time while repeating the block analysis and condition determination.
[0045] On the other hand, if the current conditional wait is not the first conditional wait (step S13, NO), the analysis processing unit 6 determines in step S15 whether the time limit has elapsed since the start of timing. If the time limit has elapsed since the start of timing (step S15, YES), the analysis processing unit 6 updates the program step counter in step S16 to a block to be executed if the condition is not satisfied within the time limit. The block to be executed if the condition is not satisfied within the time limit is the aforementioned ELSE block.
[0046] On the other hand, if the time limit has not elapsed since the start of the time measurement (step S15, NO), the analysis processing unit 6 ends the processing according to the Fig. 5. The analysis processing unit 6 continuously measures the time while repeating the block analysis and condition determination.
[0047] The statement for when the conditional expression is satisfied and the statement for when the timeout expires can be written on the same line as the conditional wait block, as shown below. In this case, more blocks can be displayed at the same time as the numeric control program is displayed on the screen.
[0048] WAITIF[conditional expression,timeout] THEN statement in case the conditional expression is true ELSE statement in case the timeout expires.
[0049] Instructions for when the conditional expression is satisfied and instructions for when the time limit expires can be written into multiple blocks, as shown below. In other words, the analysis processing unit 6 can execute a conditional-wait block that includes multiple blocks to be executed when the condition is satisfied within the time limit and / or that includes multiple blocks to be executed when the condition is not satisfied within the time limit. In this case, the analysis processing unit 6 can execute a conditional-wait program that can handle a wider range of applications. WAITIF[conditional expression, time limit] THEN Statement 1 for when the conditional expression is satisfied : Statement n for when the conditional expression is satisfied ELSE Statement 1 for when the time limit expires : Statement m for when the time limit expires ENDIF
[0050] According to the first embodiment, when the conditional wait block is read, the analysis processing unit 6 repeatedly determines whether the condition is satisfied or not until the condition is satisfied. Until the condition is satisfied, the analysis processing unit 6 analyzes only the block describing the conditional expression or only the conditional expression before making its determination regarding the condition. The numerical control device 1 can reduce its analysis processing load compared to when multiple blocks must be analyzed in single analysis processing. Furthermore, the numerical control device 1 can make the determination regarding the condition requiring calculation, eliminating the need to limit conditions for which the conditional wait program can be used. In other words, the numerical control device 1 can implement conditional wait for various conditions.As described above, the numerical control device 1 achieves an effect of reducing its analysis processing load and not limiting the conditions for which the condition waiting program can be used.
[0051] Next, a description will be given of the hardware that implements the numerical control device 1 according to the first embodiment. The analysis processing unit 6, the control processing unit 7, the drive processing unit 8, the input / output processing unit 9, and the display processing unit 10, which are the processing units of the numerical control device 1, are implemented by a processing circuit. The processing circuit may be a circuit in which a processor executes software or a dedicated circuit.
[0052] If the processing circuit is implemented using software, the processing circuit is, for example, a Fig. Control circuit shown in Figure 6. Fig. 6 is a diagram illustrating an exemplary configuration of the control circuit 30 according to the first embodiment. The control circuit 30 includes an input unit 31, a processor 32, a data storage 33, and an output unit 34. The input unit 31 is an interface circuit that receives data input from outside the control circuit 30 and supplies the data to the processor 32. Information from both the operation panel 2 and the monitor 3 is input to the input unit 31. The output unit 34 is an interface circuit that sends data from the processor 32 or the data storage 33 to outside the control circuit 30. The output unit 34 outputs information to both the operation panel 2 and the monitor 3.
[0053] If the processing circuitry in Fig. 6, the processing units of the numerical control device 1 are implemented using software, firmware, or a combination of software and firmware. The software or firmware is described as programs and is stored in the data memory 33. In the processing circuit, the processor 32 reads and executes the programs stored in the data memory 33 to implement the functions. This means that the data memory 33 is included in the processing circuit to store the programs that lead to the execution of the operations of the numerical control device 1. It can be said that these programs cause a computer to execute the steps and methods of the numerical control device 1. The aforementioned program step counter is included in the processor 32.
[0054] The processor 32 is a central processing unit (CPU), a processing unit, an arithmetic unit, a microprocessor, a microcomputer, a processor, or a digital signal processor (DSP). Examples corresponding to the data memory 33 include, but are not limited to, non-volatile and volatile semiconductor memories such as random-access memory (RAM), read-only memory (ROM), flash memory, erasable programmable read-only memory (EPROM), and electrically erasable programmable read-only memory (EEPROM) (registered trademark), a magnetic disk, a flexible disk, an optical disk, a compact disk, a minidisk, and a digital versatile disc (DVD). The program memory 5 is implemented by the data memory 33.
[0055] While Fig. 6 illustrates the example of hardware in which the general-purpose processor 32 and the data memory 33 are used to implement the constituent elements, the constituent elements may be implemented by a dedicated hardware circuit. Fig. 7 is a diagram illustrating an exemplary configuration of the dedicated hardware circuit 35 according to the first embodiment.
[0056] The dedicated hardware circuit 35 includes the input unit 31, the output unit 34, and a processing circuit 36. The processing circuit 36 is a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a combination thereof. The functions of the numerical control device 1 can be implemented individually or collectively by the processing circuit 36. The constituent elements can be implemented by combining the control circuit 30 with the hardware circuit 35.
[0057] The above configurations illustrated in the embodiment illustrate the content of the present disclosure. The configurations of the embodiment can be combined with other publicly known techniques. The configurations of the embodiment may be partially omitted or changed without departing from the gist of the present disclosure. List of reference symbols 1 numerical control unit; 2 control panel; 3 monitors; 4 drive unit; 5 program memories; 6 Analysis processing unit; 7 control processing unit; 8 drive processing unit; 9 Input / output processing unit; 10 display processing unit; 11 Motor drive unit; 12 servo motor; 20 machine tools; 30 control circuit; 31 input unit; 32 processor; 33 data storage; 34 output unit; 35 hardware circuit; 36 processing circuit. QUOTES CONTAINED IN THE DESCRIPTION
[0000] This list of documents submitted by the applicant was generated automatically and is included solely for the convenience of the reader. This list is not part of the German patent or utility model application. The DPMA assumes no liability for any errors or omissions. Cited patent literature
[0000] JP 2003 - 108 209
[0005]
Claims
[1] Numerical control unit, comprising: an analysis processing unit for reading out a block specified by a program step counter from a numerical control program and analyzing the block; and a control processing unit for generating a command driving a control target based on an analysis result of the analysis processing unit, wherein when a conditional wait block is read that describes a conditional expression that specifies a condition for proceeding with the execution of the numerical control program, the analysis processing unit repeatedly determines whether the condition is satisfied or not until the condition is satisfied, and the analysis processing unit analyzes the conditional wait block until the condition is satisfied before making initial and subsequent determinations as to whether the condition is satisfied or not. [2] The numerical control apparatus according to claim 1, wherein the analysis processing unit calculates the conditional expression including an operator. [3] Numerical control device according to claim 1 or 2, wherein the condition-wait block contains a description of a time limit for waiting until the condition is met, and the analysis processing unit stops waiting for the condition to be met when the time limit expires after the waiting for the condition to be met has started. [4] The numerical control apparatus according to claim 3, wherein the analysis processing unit performs the execution of a predetermined program in a case where the condition is satisfied within the time limit and / or in a case where the condition is not satisfied within the time limit. [5] The numerical control device according to claim 4, wherein the analysis processing unit executes the condition waiting block which includes a plurality of blocks to be executed when the condition is satisfied within the time limit and / or a plurality of blocks to be executed when the condition is not satisfied within the time limit.
Citation Information
Patent Citations
JP002021009425A
JP002003108209A