Installing a New Tool

From Jubilee
Revision as of 01:16, 11 May 2020 by Poofjunior (talk | contribs) (Created page with "==Software== ==Hardware== ===Tool Offsets=== ===Tool Parking Post Positions=== ===Tool Change Macros=== From a software perspective, executing a tool change is as simple as...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Software

Hardware

Tool Offsets

Tool Parking Post Positions

Tool Change Macros

From a software perspective, executing a tool change is as simple as invoking the T Command of the tool you want to pick up next. In code, it would look like this:

...
T1 ; After this command finishes, the machine will be holding "tool 1." 
...

To handle this line, we need to write the behavior of the machine such that the tool is holding "tool 1" when that line of GCode finishes executing. Duet handles this by having us write a macro, a short snippet of GCode that executes when the machine encounters a tool change command. There are 3 files that need to be added per tool.

Writing tfreeX.g

Writing tpreX.g

Writing tpostX.g