Note sure if this should remain in Firmware Wish List?
I created a bunch of macros using the likes of G91, G1 X-0.025, G90 in a seperate Macro directory which allows me to do the alignment.
However I now have a new problem. If I recall, this was raised a while ago and I'm not sure of the outcome and cannot find thread. That is, my machine is similar to E3D tool changer. In testing when tool changing the macro to collect the tool works OK. That is no offset is applied. However when freeing the tool the offset remains and therefore misses the docking position (crunch noise).
To prove my supposition I removed the physical tool and put a large X offset of 25 for T1 in config.g using
G10 P1 X-25 Y4.4 Z0.723 ; Set tool 1 axis offsets
After homing no tool is present.
Then in console I type T1. Tool 1 is collected correctly it returns to home position 0X, 0Y with X finally reporting as -25 (as I would expect).
Then in console I type T-1. Tool 1 now trys to return to its park poistion +25 offset in X (so would crash if physically present). On returning to 0X,0Y the head is actually at +25.
Clearly the E3D tool changing users must have resolved this. So what am I doing wrong?
Here are my tool changing macros.
; tpost1.g
; called after tool 1 has been selected
; Wait for set temperatures to be reached
M116 P1 ; Enable when hot end working
; tpre1.g
; called before tool 1 is selected
; LOAD TOOL 1
M98 PxSt Taw Led Blue.g
G91 ; relative xyz moves
G1 Z5 ; move bed down 5
G90 ; absolute moves
G1 X107 F10000 ; move in line of docking
G1 Y290 F10000 ; move quickly near docking
G1 Y310 F2000 ; move slow to pre dock
M280 P7 S0 ; Move key to unlock position 0
G4 S1 ; Wait 1 second for servo to rotate
G1 Y325 F1000 ; move into doc
M280 P7 S135 ; Move key to lock position 135
G4 S1 ; Wait 1 second for servo to rotate
G1 Y290 F1000 ; move out of docking position slow
G1 x0 Y0 F10000 ; Move out of the way
G91 ; relative xyz moves
G1 Z-5 ; move bed up 5
M98 PxSt Taw Led White.g
; tfree1.g
; called when tool 1 is freed
; UNLOAD TOOL 1
M98 PxSt Taw Led Blue.g
G91 ; relative xyz moves
G1 Z5 ; move bed down 5
G90 ; absolute moves
G1 X107 F10000 ; move in line of docking X
G1 Y290 F10000 ; move in line of docking Y
G1 Y310 F2000 ; move slow to pre dock
M280 P7 S0 ; Move to unlock position 0
G4 S1 ; Wait 1 second for servo to rotate
G1 Y325 F1000 ; Push into final docking position
G1 Y290 F1000 ; move out of docking position slow
G1 x0 Y0 F10000 ; Move out of the way
G91 ; relative xyz moves
G1 Z-5 ; move bed up 5
M98 PxSt Taw Led White.g
Any help appreciated