I got today an Idea but i'm unsure if this possible.

I got today an Idea but i’m unsure if this possible. In my XATC project i’m worry that the machine lost some steps during the tool change process. The best way to avoid this is IMHO a second homing process after tool change. But this needs a long time with ~100mm/min, maybe it can be faster? Here my Idea, after tool change change the maximum speeds in tinyg of XYZ Axis and move close to machine endpoints. Then undo maximum speeds and make the homing process:

(tool change finished)
$xvm = 30000 (set X maximum seek to 30000mm/min)
$yvm = 30000 (set Y maximum seek to 30000mm/min)
G53
G0 X10 Y10 Z-10
$xvm = 1600 (undo X maximum seek)
$yvm = 1600 (undo Y maximum seek)
G28.2 X0 Y0 Z0
G54

I’ll test this on the weekend ans make a video about this, but maybe someone try this before? Hints? If it possible to change the config in a planner process?

What about homing to switches ON the XATC? It will be nearby. Mechanically speaking. Integrating a tool length probe would be sensible anyway. So X and Y could also be handled by.

Hmm, good catch … i’ll thinking about it :slight_smile:

One thought is on TinyG v8 you need a 10ms pause after each config command because it writes to EEPROM, so I found you can’t put it in streaming Gcode. On G2 you can put it in streaming because there’s no EEPROM delay.

@jlauer i think that no problem, we can add a pause after this commands via G4 0.1

Sadly that doesn’t work. The moment it goes to process the next command it craps out. You have to actually not send it a command until the milliseconds have past.