Setting Up Tool Change Macros in UGS for the Wolfpawn
wolfpawnugstool changemacrosgcode
Multi-tool jobs require pausing the machine, swapping the bit, re-zeroing Z, and resuming. UGS macros automate the safe park and resume sequence.
The Problem Without Macros
Mid-job tool change without macros:
- Machine stops at M6
- You manually jog to a safe position
- Swap bit
- Try to remember where Z was
- Probably wrong โ ruins the job
Required UGS Macros
Macro 1: Safe Park for Tool Change
G91 ; relative mode
G1 Z10 F1000 ; raise Z 10mm
G90 ; back to absolute
G0 X0 Y0 ; go to front-left
M5 ; spindle off
Macro 2: Resume After Tool Change
G91
G1 Z-5 F500 ; lower toward work
G90
; Operator re-zeros Z here manually
Setting Up in UGS
- Open UGS โ Window โ Macro Buttons
- Click Add Macro
- Paste the macro code
- Name it clearly: "TOOL CHANGE PARK" and "TOOL CHANGE RESUME"
Z Re-Zero After Tool Change
After swapping the bit:
- Jog Z down slowly to material surface (paper method)
- Zero Z in UGS: Machine โ Work Position โ Zero Z
- Jog back up 5 mm
- Run RESUME macro
- Restart the second toolpath
Organizing Multi-Tool Jobs in Aspire
- Save each toolpath as a separate file (Roughing.gcode, VCarve.gcode, etc.)
- Run them in sequence with manual tool change between
- Note: don't re-zero X/Y between tools โ only Z