Error G10: Attempt to set temp for non-existent tool: 0



  • Re: Error while setting temperature

    The actual error is:
    Error: G10: Attempt to set/report offsets and temperatures for non-existent tool: 0

    This is on a Duet 2 Maestro running 2.05

    Any thoughts?

    Here is the config info:

    ; --- SECTION: HEATERS, BED & THERMISTOR ---
    ; H0 is bed
    ; H1 is left heater
    ; H2 is right heater

    M570 H0 P25 T30 ; Allow heater to be off by as much as 30C for 25 seconds
    M570 H1 P15 T30 ; Allow heater to be off by as much as 30C for 15 seconds
    M570 H2 P15 T30 ; Allow heater to be off by as much as 30C for 15 seconds
    M305 P0 T100000 B4138 C0 R2200 ; Set thermistor + ADC parameters for heater 0, For heated Bed thermistor
    M305 P1 X501 R2200 ; Define left side extruder PT1000
    M305 P2 X502 R2200 ; Define right side extruder PT1000
    M307 H0 A78.9 C265.2 D9.5 S1.00 V24.0 B0 ; Forcing heated bed PID control after power-cycle. Basic bed heating auto-tune
    M307 H1 A309 C96 D5.2 S0.75 V24.1 B0 ; Set PID values use M303 auto-tune calibration settings
    M307 H2 A309 C96 D5.2 S0.75 V24.1 B0 ; Set PID values use M303 auto-tune calibration settings
    M302 P1 ; Allow Cold extrudes
    M98 Pmachine_maxtemp.g ; set bed and extruder max temperatures

    ; --- SECTION: FANS ( ) ---

    M106 P0 S0 I0 F4 H-1 L0.3 ; Filter fan. Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%
    M106 P1 S0 I0 F4 H-1 L0.3 ; Cold-Section fan. Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%
    M106 P2 S0 I0 F4 H-1 L0.3 ; Nozzle fan. Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%

    ; --- SECTION: TOOLS ( ) ---

    ; Comment: Remember! H0 is the heated bed!
    ; Comment: D0 is the first driver after movement (X, Y and Z) drives, which is left extruder
    ; D1 is right extruder

    M98 Pmachine_ktana_tools.g ; Define ktana tools

    T0 ; Automatic tool select


  • administrators

    @Stephenbright said in Error G10: Attempt to set temp for non-existent tool: 0:

    M98 Pmachine_ktana_tools.g ; Define ktana tools

    The tools are being defined in file machine_ktana_tools.g so we need to see that file too.


  • Moderator

    M98 parameter should be in quotes, eg M98 P”macro_name.g”, though may still work without depending on firmware version. See https://duet3d.dozuki.com/Wiki/Gcode#Section_M98_Call_Macro_Subprogram

    Iani


Log in to reply