Hangs changing tool



  • When I turn on my bed heater then turn on the hotend Changing Tool is displayed in the top right of the web app. While that is lit nothing else is possible except diagnostics which is displayed below. 60 seconds or passes before it accepts any command. Is this normal operation? When I reverse order it does it less often.

    M122
    === Diagnostics ===
    Used output buffers: 1 of 32 (9 max)
    === Platform ===
    Static ram used: 20320
    Dynamic ram used: 72808
    Recycled dynamic ram: 1080
    Stack ram used: 968 current, 3880 maximum
    Never used ram: 32984
    Last reset 00:04:24 ago, cause: power up
    Last software reset code 0x0003, HFSR 0x00000000, CFSR 0x00000000, ICSR 0x00400000, BFAR 0xe000ed38, SP 0xffffffff
    Spinning module during software reset: GCodes, available RAM 33048 bytes (slot 1)
    Error status: 0
    Free file entries: 9
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest block write time: 0.0ms
    MCU temperature: min 32.9, current 40.5, max 43.9
    Supply voltage: min 24.0, current 24.2, max 24.4, under voltage events: 0, over voltage events: 0
    Driver 0: stalled standstill
    Driver 1: stalled standstill
    Driver 2: standstill
    Driver 3: standstill
    Driver 4: standstill
    Date/time: 2017-05-23 16:31:21
    Slowest main loop (seconds): 0.007858; fastest: 0.000038
    === Move ===
    MaxReps: 4, StepErrors: 0, MaxWait: 6217ms, Underruns: 0, 0
    Scheduled moves: 6, completed moves: 6
    Bed compensation in use: none
    Bed probe heights: 0.000 0.000 0.000 0.000 0.000
    Probe change coordinates:
    === Heat ===
    Bed heater = 0, chamber heater = -1
    Heater 0 is on, I-accum = 0.0
    Heater 1 is on, I-accum = 0.3
    === GCodes ===
    Segments left: 0
    Stack records: 2 allocated, 1 in use
    Movement lock held by http
    http is doing "M116 P0" in state(s) 0 7
    telnet is idle in state(s) 0
    file is idle in state(s) 0
    serial is idle in state(s) 0
    aux is idle in state(s) 0
    daemon is idle in state(s) 0
    queue is idle in state(s) 0
    Code queue is empty.
    === Network ===
    WiFiServer is running
    SPI underruns 0, overruns 0
    === Webserver ===
    HTTP sessions: 1 of 8


  • administrators

    It's probably normal. You must likely have a command in one of your tool change files that waits for the new tool to reach temperature. That will block further commands from the same input stream except for diagnostics and emergency stop.



  • If I heat the nozzle first it does not hang. If the bed is heating then try to start the nozzle heat it hangs for quite some time, some times over a minute.

    ; Tools
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C


  • administrators

    You probably have a M116 command in your tpost#.g files, which will wait for all temperatures including the bed. I suggest you add a P parameter to wait just for that tool to reach temperature. For example, in tpost0.g use command M116 P0 instead of just M116.


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.