Wiki source code of Как работать со сменой инструмента?
Last modified by writer on 2023/09/07 15:18
Show last authors
author | version | line-number | content |
---|---|---|---|
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). | ||
2 | |||
3 | The PUMOTIX software provides users with the ability to change tools according to one of the 4 proposed scenarios. | ||
4 | |||
5 | (% style="margin-left:30.0px" %) | ||
6 | (% style="color:#007a7a" %)**Scenario 0: Default**(%%) - installed in the program by default. | ||
7 | |||
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. | ||
10 | |||
11 | [[image:2019-09-05 08_31_11-Settings.png||data-xwiki-image-style-alignment="center" height="100" width="515"]] | ||
12 | |||
13 | The scenarios described below are implemented using various configurations of the (% style="color:#8d69b2" %)**M6**(%%) macro. | ||
14 | |||
15 | {{warning}} | ||
16 | We recommend setting the required tool change mode immediately after installing PUMOTIX. | ||
17 | {{/warning}} | ||
18 | |||
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]]. | ||
20 | |||
21 | [[image:Macro_replace_menu_en.png||data-xwiki-image-style-alignment="center" height="180" width="500"]] | ||
22 | |||
23 | (% style="margin-left:30.0px" %) | ||
24 | (% style="color:#007a7a" %)**Scenario 1: Pause control program**(%%). | ||
25 | |||
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. | ||
27 | |||
28 | (% style="margin-left:30.0px" %) | ||
29 | (% style="color:#007a7a" %)**Scenario 2: Semi-automatic tool chan**(%%) (the macro template is the **SemiAuto**). | ||
30 | |||
31 | Semi-automatic tool change occurs sequentially according to the following algorithm of actions: | ||
32 | |||
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. | ||
43 | |||
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]]) | ||
46 | {{/info}} | ||
47 | |||
48 | (% style="margin-left:30.0px" %) | ||
49 | (% style="color:#007a7a" %)**Scenario 3: Automatic tool change**(%%) (the macro template is the **Auto**). | ||
50 | |||
51 | Automatic tool change occurs sequentially according to the following algorithm of actions: | ||
52 | |||
53 | 1. Raising to a height SafeZ, if it has been set. | ||
54 | 1. Spindle shutdown. | ||
55 | 1. Moving to the tool change point. | ||
56 | |||
57 | To analyze further actions, look at the “Tool Table” window directly in the PUMOTIX program (“Configuration” → [["Tool Table">>doc:Руководство пользователя.Ответы на типовые вопросы.Для чего нужна "Таблица инструментов"?.WebHome]]). | ||
58 | |||
59 | [[image:Tool_Table_Window_en.png||data-xwiki-image-style-alignment="center" height="527" width="1000"]] | ||
60 | |||
61 | |||
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. | ||
63 | |||
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. | ||
67 | 1. | ||
68 | 1. Reset the current tool to a cell. | ||
69 | 1. | ||
70 | 1. Move to the cell of a new tool. | ||
71 | 1. | ||
72 | 1. Capture a new tool. | ||
73 | |||
74 | When selecting “Joint for all Tools”, a single change point is set, and the tool change itself contains the following steps: | ||
75 | |||
76 | 1. Moving to the shift point and reset the current tool. | ||
77 | 1. | ||
78 | 1. Capture a new tool. | ||
79 | |||
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. |