User Tools

Site Tools


mycnc:m6_tool_change_macro:m6_tool_change_macro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mycnc:m6_tool_change_macro:m6_tool_change_macro [2019/10/15 12:09] ivanmycnc:m6_tool_change_macro:m6_tool_change_macro [2023/09/29 14:16] (current) ivan
Line 1: Line 1:
 ===== M6 Tool Change Macro ===== ===== M6 Tool Change Macro =====
 +
 +**NOTE:** For the M6TXX codes to work, they must be enabled in the myCNC Settings (Settings > Config > G-codes settings):
 +
 +{{::config-080-tool-change.png}}
  
 T-code of G-codes has higher priority than M6. For a command <code>M6T2</code> T2 will be executed first, then M6. T-code of G-codes has higher priority than M6. For a command <code>M6T2</code> T2 will be executed first, then M6.
  
-T1 ... T99 are defined as macros in myCNC software. T-macro normally contains jsut 1 line to setup Global register #5409 - The Next Tool Number.+T1 ... T99 are defined as macros in myCNC software. T-macro normally contains just 1 line to setup Global register #5409 - The Next Tool Number.
 Examples -  Examples - 
 <code C T1>G10 L80 P5409 Q1</code> <code C T1>G10 L80 P5409 Q1</code>
Line 131: Line 135:
  
 Note that if it is necessary 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 (this is typically not recommended for safety reasons). Note that if it is necessary 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 (this is typically not recommended for safety reasons).
 +
 +==== Notes ====
 +
 +=== G53 ===
 +
 +In system macros (especially in which coordinates are reassigned and/or reset), G0 positioning codes **must** be used. See [[mycnc:gcodes_list#g0g53_vs_g1g2g3_commands|page]] on G53
  
    
mycnc/m6_tool_change_macro/m6_tool_change_macro.txt · Last modified: 2023/09/29 14:16 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki