Use the G30 and G31 NC functions to define a cuboid workpiece blank for simulation in the NC program.
You define the cuboid by entering a MIN point for the bottom front left corner and a MAX point for the top rear right corner.
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.
N10 G30 G17 X+0 Y+0 Z-40 | Define MIN point |
N20 G31 X+100 Y+100 Z+0 | Define MAX point |
G30 and G31 correspond to the Klartext syntax BLK FORM 0.1 and BLK FORM 0.2.
Defining a workpiece blank with BLK FORM
With G17, G18, and G19, you define the tool axis.
- With the Klartext syntax, you can additionally define the following workpiece blanks:
- Cylindrical workpiece blank with BLK FORM CYLINDER
- Rotationally symmetric workpiece blank with BLK FORM ROTATION
- STL file as workpiece blank with BLK FORM FILE
Cylindrical workpiece blank with BLK FORM CYLINDER
Rotationally symmetric workpiece blank with BLK FORM ROTATION