Muti tool setup
-
Hello,
I do have a E3d Toolchanger with firmware version 3.4x and have the issue that picking up the tool does not work with first job and first tool. This is so because it is missing in the gcode.
I tried to fix it with this custom code:
if state.currentTool = -1 ;check if a tool selected code added because slicer does not select T0 at the very beginning
T0The second job makes problemes and starts without a tool. scrating the end stop over the printing surface. I end job with the following code:
G91
G1 Z2 F1000 ;Drop Bed
G90
T-1 ;Drop off the tool
G1 X20 Y200 F50000 ;Park
M0 ;turn off all heatersThanks for your help!
Mike -
its possibly an issue with the forum formatting of the code, but to confirm, you are using indents in your meta gcode?:
e.g.:
if state.currentTool = -1 ;check if a tool selected code added because slicer does not select T0 at the very beginning T0
If you send
echo state.currentTool
after a job has finished and your tool unload has run, it should indicate if its set to -1 -
@T3P3Tony said in Muti tool setup:
echo state.currentTool
I am currently away from the printer and made a remote test. Seams to work right now.
Do only have this Warning:
Warning: Obsolete use of S parameter on G1 command. Use H parameter instead.Will test it with "echo state.currentTool" and come back on eastern.
Thanks!
Mike
-
@Mike-1 said in Muti tool setup:
Warning: Obsolete use of S parameter on G1 command. Use H parameter instead.
This is because you are using S instead of H in the G1 command, see:
https://docs.duet3d.com/en/User_manual/Reference/Gcodes#g0g1-h-and-s-parameter