Hey!
So when we have a tool change, we want to run a macro which is essentially just an offset between the two extruders (in our case syringes).
As part of this macro, we need to move our U axis (already set up/defined and we can move it with normal G1 U50 commands and such).
As a test, we put the following gcode in all the tfree0, tpre0, and tpost0 files:
G90
M83
G1 U50
To clarify, we put the above gcode into tfree0 and tfree1 and then ran a tool change through the gcode console and it didn't activate the macro. We then put it into tpost0 and tpost1 and tried again, with nothing happening. Etc.
To explain further, when we upload and try to print the below gcode print file, the tool change does not run the macro that we defined (in this case it only moves the U axis).
G1 X50
G1 X-50
T0
G1 Y50
G1 Y-50
T1
G1 Z50
G1 Z-50
As I understand from @dc42 's explanation here, when the program sees the T0 or T1 commands, a tool change occurs and should run the gcode in the tpre, tpost, and tfree files, but we are unable to accomplish this.
Any suggestions? Thank you!