M104 Error?
-
Error: M104: Invalid tool number
Error: M109: Invalid tool number
Error: Invalid servo index 0 in M280 commandUsing S3D to slice for my Duet Wifi
I don't understand what the issue is. The print runs fine other than this.
It's more of an annoyance than a issue but I'd like to know more of what I'm doing instead of shooting in the dark and being ok with sub par coding. -
Please post the first 30 or so lines of the file that cause these messages. Do not post the Simplify3D comments that show how it was set up (these begin with a ";")
-
G90
M82
M106 S0
M140 S60
M190 S60
M104 S0 T0
M104 S220 T2
M109 S220 T2
G92 E0
M280 PS3 ; Set BLTouch to probing position (light on pin out)
G90 ; Absolute Positioning
G28 ; Home
G1 Z15.0 F6000 ; Move the platform down 15mm
G30 Z.75; Z Offset
M280 PS7 ; Set BLTouch to idle position (light off pin in)
G92 E0
G1 E-6.0000 F600
G1 Z1.170 F1002
; process Process1
; layer 1, Z = 0.170
T1
; tool H0.200 W0.480
; skirt
G1 X-18.859 Y-41.420 F12000
G1 Z0.170 F1002
G1 E0.0000 F180
G92 E0
G1 X-15.042 Y-45.237 E0.2155 F1500
G1 X-14.601 Y-45.420 E0.2345
G1 X14.601 Y-45.420 E1.4000
G1 X15.042 Y-45.237 E1.4191 -
The start GCode is referring to two tools, T0 and T2. What tools have you defined in the M563 commands in your config.g file?
-
T0 and T1 .. I think
I'm not very good at this yet; Tools
M563 P0 D0 H1 ; tool 0 uses extruder drive 0 and heater 1
G10 P0 S0 R0 X-8 Y-4 ; set tool 0 temperatures and offsets
M563 P1 D1 H2 F2 ; tool 1 uses extruder drive 1 and heater 2. Fan 2 is mapped to fan 0
G10 P1 S0 R0 X0.37 Y11.58 ; set tool 1 temperatures and offsets -
Yes you have defined tools 0 and 1 in config.g. But you appear to have configured your slicer to use tools 0 and 2.
-
@dc42 I've fixed the tools on the slicer to be T0 and T1 but I have to set the heated bed to T2 and can't figuer out how to set it to T2 on the Duet WiFi
Thanks for all your help
-
I just had to redefine the Tools and Bed in S3d. Thanks for all the help guys