How to Work with Tool Change?

Last modified by writer on 2023/09/07 15:18

A tool change in the control program is called using the macro M6 with or without Tx parameter (where x is the tool number).

The PUMOTIX software provides users with the ability to change tools according to one of the 4 proposed scenarios.

Scenario 0: Default - installed in the program by default.

The call of the tool change command in the control program is ignored without notifying the user.
To use the tool change macro, go to “Configuration” → “Settings” → “G-code” → “G-code Interpretation Params” and uncheck the box “Ignore tool change”. Then click the “Apply” button and close the settings window.

2019-09-05 08_31_11-Settings.png

The scenarios described below are implemented using various configurations of the M6 macro.

We recommend setting the required tool change mode immediately after installing PUMOTIX.

To apply the desired configuration select the M6 macro template (Auto or Semiauto) using the macro and background operation window.

Macro_replace_menu_en.png

Scenario 1: Pause control program.

This scenario is embedded in the standard macro M6 and will be executed without additional changes. When the toolchange command is called from the control unit, the spindle rises to the SafeZ height, stops rotation and remains in place,allowing any changes to be made, including additional measurements to correct coordinates in the program.

Scenario 2: Semi-automatic tool chan (the macro template is the SemiAuto).

Semi-automatic tool change occurs sequentially according to the following algorithm of actions:

  1. Raising to a height SafeZ, if it has been set.
  2. Spindle shutdown.
  3. Moving to the tool change point (more...).
  4. Turn on standby mode (the "Changing" indicator flashes in yellow).
    2019-09-05 08_34_14-PUMOTIX x64 Администратор.pngAll previous operations are performed automatically, receiving instructions from the macro.
  5. Replacement of the cutting tool (milling cutter) - is carried out manually by the operator, subsequent measurements are optional.
  6. After replacing the tool, the operator needs to click the "Start" button in the PUMOTIX interface so that the macro terminates the program.
  7. Auto-correction of tool length (auto-testing). The procedure does not require additional moves, since the probing point is by default located at the tool change point.
  8. Turning on the spindle, restoring the initial state of the system.
  9. Starting further execution of G-Code.
NOTE!

To change the behavior of the M6 macro, you can edit it yourself and lay down the logic of actions convenient for you! (More: How to Create a Custom Macro?)

Scenario 3: Automatic tool change (the macro template is the Auto).

Automatic tool change occurs sequentially according to the following algorithm of actions:

  1. Raising to a height SafeZ, if it has been set.
  2. Spindle shutdown.
  3. Moving to the tool change point.

To analyze further actions, look at the “Tool Table” window directly in the PUMOTIX program (“Configuration” → "Tool Table").

Tool_Table_Window_en.png

At the bottom of the window is the “Tool Change Mode” field, containing the selection and input of coordinates of the tool change point.

When you select "From the Tool table" for each of the tools added to the table, it becomes possible to enter individual shift coordinates. According to these coordinates, further actions take place that look as follows:

  1. Move to the cell of the current tool.
  2.  
  3. Reset the current tool to a cell.
  4.  
  5. Move to the cell of a new tool.
  6.  
  7. Capture a new tool.

When selecting “Joint for all Tools”, a single change point is set, and the tool change itself contains the following steps:

  1. Moving to the shift point and reset the current tool.
  2.  
  3. Capture a new tool.

In place of points 2, 4 and 6, the individual control logic is manually prescribed, based on the features of the apparatus for changing the tool, its connection and other conditions.
After capturing a new tool, the program automatically adjusts the height taking into account the “Length” parameter from the “Tool Table”, and then returns to the G-Code.
When using this scenario, user intervention is not required, all actions are performed as part of the control program.