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
Next revisionBoth sides next revision
mycnc:m6_tool_change_macro:m6_tool_change_macro [2018/04/04 12:40] skirillovmycnc:m6_tool_change_macro:m6_tool_change_macro [2018/04/05 10:36] skirillov
Line 17: Line 17:
 and able to handle correct Tool change and able to handle correct Tool change
  
-Beside tool changing operations M6 macro should have **at the very End** code to change **The Current Tool Number** register itself. <code C>G10 L81 P5400 Q5409 (Copy value from "Next Tool Number" to "Current Tool Number")</code> If **The Current Tool Number** register changed the myCNC control applies all offsets and Tool Length for new Tool Number+Beside tool changing operations M6 macro should have code line **at the End** of the macro to change **The Current Tool Number Register** itself. <code C>G10 L81 P5400 Q5409 (Copy value from "Next Tool Number" to "Current Tool Number")</code> If **The Current Tool Number** register changed the myCNC control applies all offsets and Tool Length for new Tool Number
  
 ==== M06 Tool Change for Lathe/Turning machine (v1) ==== ==== M06 Tool Change for Lathe/Turning machine (v1) ====
Line 57: Line 57:
 #300=#300*60 (multiply 60 degrees) #300=#300*60 (multiply 60 degrees)
  
-G91 G0 C#300 F#120+M7 (unlock the drum locker) 
 +G91 G0 C5   F#120 (rotate 5 degrees to release the drum lock) 
 +G91 G0 C#300 F#120 (move rotate to the next tool)
 G91 G0 C-5   F#120 (lock the drum by reverse revolving to 5 degrees) G91 G0 C-5   F#120 (lock the drum by reverse revolving to 5 degrees)
 +M9 (lock the drum locker)
  
  
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