website logo
💾Software
Hardware
Navigate through spaces
💾Software
Hardware
⌘K
Untitled doc
Safety
I/O Control
Untitled doc
Inverting I/O
Using Spindle Control
Using AUX outputs
Using AUX inputs
Using other inputs
Using 0-10V outputs
Using PWM outputs
How to...
Config toolchain area guard (TCA)
How to use...
Loading and executing a job
Navigating the application
Starting the application
G-code
Introduction
Supported G-code
Supported M-codes
Macro programming
Introduction
M Function override and user M-functions
I/O Operations
Examples
Interpreter
Keyboard shortcuts
Camera support
Untitled doc
G-code
System-parameters/variables
Untitled doc
Untitled doc
Software installation
Interface
Keyboard shortcuts
Docs powered by archbee 
5min

M6 - Tool Change

To change a tool in the spindle from the tool currently in the spindle to the tool most recently selected (using a T word - see Section 3.7.3), program M6. When the tool change is complete:

  • The spindle will be stopped.
  • The tool that was selected (by a T word on the same line or on any line after the previous tool change) will be in the spindle. The T number is an integer giving the changer slot of the tool (not its id).
  • If the selected tool was not in the spindle before the tool change, the tool that was in the spindle (if there was one) will be in its changer slot.
  • The coordinate axes will be stopped in the same absolute position they were in before the tool change (but the spindle may be re-oriented).
  • No other changes will be made. For example, coolant will continue to flow during the tool change unless it has been turned off by an M9.

The tool change may include axis motion while it is in progress. It is OK (but not useful) to program a change to the tool already in the spindle. It is OK if there is no tool in the selected slot; in that case, the spindle will be empty after the tool change. If slot zero was last selected, there will definitely be no tool in the spindle after a tool change.

EDING CNC Manual 07 January 2021 Release 4.03 170 The tool change command will call the change_tool subroutine inside macro.cnc.

You can adapt the behavior for your own needs in this function e.g: • Perform automatic tool-length measurement • Perform tool change with an automatic tool changer.

For a (nonfunctional) example of how to implement automatic tool change for a 16-tool changer. see the contents of the default_macro.cnc file at the end of this document. It checks whether current tool is already in the spindle. It check that the tool number is in range of 1-4. Then it first drops current tool and picks the new tool:

Updated 25 Mar 2022
Did this page help you?
Yes
No
UP NEXT
Introduction
Docs powered by archbeeÂ