← How-Tos
cnc Mar 26, 2026 ◑ 4 views ◯ 1 min read

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:

  1. Machine stops at M6
  2. You manually jog to a safe position
  3. Swap bit
  4. Try to remember where Z was
  5. 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

  1. Open UGS โ†’ Window โ†’ Macro Buttons
  2. Click Add Macro
  3. Paste the macro code
  4. Name it clearly: "TOOL CHANGE PARK" and "TOOL CHANGE RESUME"

Z Re-Zero After Tool Change

After swapping the bit:

  1. Jog Z down slowly to material surface (paper method)
  2. Zero Z in UGS: Machine โ†’ Work Position โ†’ Zero Z
  3. Jog back up 5 mm
  4. Run RESUME macro
  5. Restart the second toolpath

Organizing Multi-Tool Jobs in Aspire