mycnc:m6_tool_change_macro:m6_tool_change_macro
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
mycnc:m6_tool_change_macro:m6_tool_change_macro [2019/10/07 12:15] – ivan | mycnc:m6_tool_change_macro:m6_tool_change_macro [2019/10/07 12:35] – ivan | ||
---|---|---|---|
Line 83: | Line 83: | ||
G10 L81 P102 Q5042 | G10 L81 P102 Q5042 | ||
- | (M63 sets both ports 1 and 2 off - pen and knife respectively) | + | (M63 sets both ports 1 and 2 off - assigned ports for pen and knife respectively) |
- | M63P1 | + | M63P1 |
M63P2 | M63P2 | ||
G4 P1 (one second pause) | G4 P1 (one second pause) | ||
Line 126: | Line 126: | ||
</ | </ | ||
- | In this example, Pen is assigned as tool 4, with output 1 controlling its movement up/down during the tool switch, and Knife is assigned as tool 2, with output 2 controlling its movement up/down (assuming some sort of pneumatic system is activated when output 1/2 are turned on/off). M62 is a Hardware PLC procedure which turns a select port ON, while M63 turns a select output OFF. Overall, it is still necessary to use the M6 procedure in addition to M62/63 for the selected outputs, as M6 allows to compensate for the offset between the different tools. | + | In this example, Pen is assigned as tool 4, with output 1 controlling its movement up/down during the tool switch, and Knife is assigned as tool 2, with output 2 controlling its movement up/down (assuming some sort of pneumatic system is activated when output 1/2 are turned on/off). M62 is a Hardware PLC procedure which turns a select port ON, while M63 turns a select output OFF. |
+ | |||
+ | Overall, it is still necessary to use the M6 procedure in addition to M62/63 for the selected outputs, as M6 allows to compensate for the offset between the different tools. | ||
Note that in order to prevent z-axis movement at the beginning of the program, it is also required to set the Lift Height to 0 during the DXF import. | Note that in order to prevent z-axis movement at the beginning of the program, it is also required to set the Lift Height to 0 during the DXF import. |
mycnc/m6_tool_change_macro/m6_tool_change_macro.txt · Last modified: 2023/09/29 14:16 by ivan