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

Hide last authors
Edgar Allan Poe 15.1 1 A tool change in the control program is called using the macro (% style="color:#8d69b2" %)**M6**(%%) with or without Tx parameter (where x is the tool number).
writer 1.1 2
Edgar Allan Poe 15.1 3 The PUMOTIX software provides users with the ability to change tools according to one of the 4 proposed scenarios.
writer 1.1 4
5 (% style="margin-left:30.0px" %)
Edgar Allan Poe 15.1 6 (% style="color:#007a7a" %)**Scenario 0: Default**(%%) - installed in the program by default.
writer 1.1 7
Edgar Allan Poe 15.1 8 The call of the tool change command in the control program is ignored without notifying the user.
9 To use the tool change macro, go to “Configuration” → “Settings” → [[“G-code”>>doc:Руководство пользователя.Настройка ПО.Настройка параметров G-кода.WebHome]] → “G-code Interpretation Params” and uncheck the box “Ignore tool change”. Then click the “Apply” button and close the settings window.
writer 1.1 10
Edgar Allan Poe 15.1 11 [[image:2019-09-05 08_31_11-Settings.png||data-xwiki-image-style-alignment="center" height="100" width="515"]]
writer 1.1 12
Edgar Allan Poe 15.1 13 The scenarios described below are implemented using various configurations of the (% style="color:#8d69b2" %)**M6**(%%) macro.
writer 1.1 14
15 {{warning}}
Edgar Allan Poe 15.1 16 We recommend setting the required tool change mode immediately after installing PUMOTIX.
writer 1.1 17 {{/warning}}
18
Edgar Allan Poe 15.1 19 To apply the desired configuration select the (% style="color:#8d69b2" %)**M6**(%%) macro template (**Auto **or **Semiauto**) using [[the macro and background operation window>>doc:Руководство пользователя.Описание M-кодов.Управление макросами и фоновыми операциями.WebHome]].
writer 1.1 20
Edgar Allan Poe 15.1 21 [[image:Macro_replace_menu_en.png||data-xwiki-image-style-alignment="center" height="180" width="500"]]
writer 1.1 22
23 (% style="margin-left:30.0px" %)
Edgar Allan Poe 15.1 24 (% style="color:#007a7a" %)**Scenario 1: Pause control program**(%%).
writer 1.1 25
Edgar Allan Poe 15.1 26 This scenario is embedded in the standard macro (% style="color:#8d69b2" %)**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.
writer 1.1 27
28 (% style="margin-left:30.0px" %)
Edgar Allan Poe 15.1 29 (% style="color:#007a7a" %)**Scenario 2: Semi-automatic tool chan**(%%) (the macro template is the **SemiAuto**).
writer 1.1 30
Edgar Allan Poe 15.1 31 Semi-automatic tool change occurs sequentially according to the following algorithm of actions:
writer 1.1 32
Edgar Allan Poe 15.1 33 1. Raising to a height SafeZ, if it has been set.
34 1. Spindle shutdown.
35 1. Moving to the tool change point ([[more...>>doc:Руководство пользователя.Ответы на типовые вопросы.Для чего нужна "Таблица инструментов"?.WebHome]]).
36 1. Turn on standby mode (the "Changing" indicator flashes in yellow).
37 [[image:2019-09-05 08_34_14-PUMOTIX x64 Администратор.png||data-xwiki-image-style-alignment="center"]]All previous operations are performed automatically, receiving instructions from the macro.
38 1. Replacement of the cutting tool (milling cutter) - is carried out manually by the operator, subsequent measurements are optional.
39 1. After replacing the tool, the operator needs to click the "Start" button in the PUMOTIX interface so that the macro terminates the program.
40 1. 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.
41 1. Turning on the spindle, restoring the initial state of the system.
42 1. Starting further execution of G-Code.
writer 1.1 43
Edgar Allan Poe 15.1 44 {{info title="**NOTE!**"}}
45 To change the behavior of the (% style="color:#8d69b2" %)**M6**(%%) macro, you can edit it yourself and lay down the logic of actions convenient for you! (More: [[How to Create a Custom Macro?>>doc:Руководство пользователя.Ответы на типовые вопросы.Как создать пользовательский макрос?.WebHome]])
writer 1.1 46 {{/info}}
47
48 (% style="margin-left:30.0px" %)
Edgar Allan Poe 15.1 49 (% style="color:#007a7a" %)**Scenario 3: Automatic tool change**(%%) (the macro template is the **Auto**).
writer 1.1 50
Edgar Allan Poe 15.1 51 Automatic tool change occurs sequentially according to the following algorithm of actions:
writer 1.1 52
Edgar Allan Poe 15.1 53 1. Raising to a height SafeZ, if it has been set.
54 1. Spindle shutdown.
55 1. Moving to the tool change point.
writer 1.1 56
Edgar Allan Poe 15.1 57 To analyze further actions, look at the “Tool Table” window directly in the PUMOTIX program (“Configuration” → [["Tool Table">>doc:Руководство пользователя.Ответы на типовые вопросы.Для чего нужна "Таблица инструментов"?.WebHome]]).
writer 1.1 58
Edgar Allan Poe 15.1 59 [[image:Tool_Table_Window_en.png||data-xwiki-image-style-alignment="center" height="527" width="1000"]]
writer 1.1 60
61
Edgar Allan Poe 15.1 62 At the bottom of the window is the “Tool Change Mode” field, containing the selection and input of coordinates of the tool change point.
writer 1.1 63
Edgar Allan Poe 15.1 64 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:
65
66 1. Move to the cell of the current tool.
writer 1.1 67 1.
Edgar Allan Poe 15.1 68 1. Reset the current tool to a cell.
writer 1.1 69 1.
Edgar Allan Poe 15.1 70 1. Move to the cell of a new tool.
writer 1.1 71 1.
Edgar Allan Poe 15.1 72 1. Capture a new tool.
writer 1.1 73
Edgar Allan Poe 15.1 74 When selecting “Joint for all Tools”, a single change point is set, and the tool change itself contains the following steps:
writer 1.1 75
Edgar Allan Poe 15.1 76 1. Moving to the shift point and reset the current tool.
writer 1.1 77 1.
Edgar Allan Poe 15.1 78 1. Capture a new tool.
writer 1.1 79
Edgar Allan Poe 15.1 80 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.
81 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.
82 When using this scenario, user intervention is not required, all actions are performed as part of the control program.