In if-then decisions, the control compares a variable or fixed value with another variable or fixed value. If the condition is fulfilled, the control jumps to the label programmed for the condition.
If the condition is not fulfilled, the control continues with the next NC block.
The control provides the following functions:
Syntax | Meaning |
---|---|
D09 | Jump if equal If both values are equal, the control jumps to the defined label. |
Jump if undefined If the variable is undefined, the control jumps to the defined label. | |
Jump if defined If the variable is defined, the control jumps to the defined label. | |
D10 | Jump if not equal If both values are not equal, the control jumps to the defined label. |
D11 | Jump if greater than If the first value is greater than the second one, the control jumps to the defined label. |
D12 | Jump if less than If the first value is less than the second one, the control jumps to the defined label. |
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
- Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions, e.g. with M91
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
N110 D09 P01 +Q1 P02 +Q3 P03 “LBL“ | ; Jump if equal |
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
- Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions, e.g. with M91
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
N110 D09 P01 +Q1 IS UNDEFINED P03 “LBL“ | ; Jump if undefined |
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
- Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions, e.g. with M91
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
N110 D09 P01 +Q1 IS DEFINED P03 “LBL“ | ; Jump if defined |
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
- Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions, e.g. with M91
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
N110 D10 P01 +10 P02 -Q5 P03 10 | ; Jump if not equal |
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
- Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions, e.g. with M91
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
N110 D11 P01 +Q1 P02 +10 P03 QS5 | ; Jump if greater than |
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
- Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions, e.g. with M91
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
N110 D12 P01 +Q5 P02 +0 P03 “LBL“ | ; Jump if less than |
D corresponds to the FN Klartext syntax.
The numbers of the ISO syntax correspond to the numbers of the Klartext syntax.
P01, P02 etc. are considered as placeholders (e.g., for arithmetic operators included in the Klartext syntax).