Tool Change Configuration and Program End
Correctly setting the tool exchange point and selecting the appropriate program end code are vital steps for ensuring safe and smooth operation on a Mazak machine.
1. Tool Change Position (X/Z)
In the EvoSpline generator, the exchange position is defined using machine coordinates, which corresponds to the G53 instruction in the NC code.
- Machine Coordinates (G53): These are fixed physical coordinates of the machine, independent of the current workpiece coordinate system (G54, G55, etc.) or any active Z-axis offset.
- Position Flexibility: The operator has total freedom to define these points.
- Safety Tip: If you are unsure about the available clearance within the machine, enter “0” in both fields (X and Z). On most Mazak machines, this will move the tool to the Home position, which is always the safest option before turret indexing.
- Coordinate Signs: Remember that coordinate values measured from the Home position towards the spindle are negative (–).
Note: Tool change coordinates and program end parameters can be manually modified at any time within the generated EIA/ISO file.
2. Tool Number Selection
The program allows you to select the tool number and offset (e.g., T0101) from a list or manually enter a custom code.
- Critical Importance: The correct number is essential for the machine to retrieve the proper offsets from the tool table.
- Easy Editing: In case of an error, there is no need to generate a new file. You can change the tool number directly in a text editor or in the machine’s memory. The editable area is clearly marked in the NC code, and changing it will not affect the machining process itself.
3. Program End Modes (M30 vs M99)
The toggle in the Slotting module determines how the cycle concludes:
- M30 (Program End and Reset): The standard termination for a main program. It stops the machine, turns off the spindle and coolant, and resets the cursor to the beginning.
- M99 (Subprogram End / Return): Select this if you are calling the code as a subprogram (e.g., from a Mazatrol program). M99 allows the machine to return to the parent program.
- Important: If you run a standalone program ending in M99, it will run in a continuous loop until manually stopped.
