M105 response incorrect - missing T0, T1 - just showing T:



  • Hi,

    DUET Ethernet
    FW 1.21
    DWC 1.21
    CR10S with Dual extruders

    When sending an M105, the response seems to miss out "T0: / T1:" from the response and just shows "T". This means that when I connect in my external terminal, or even monitor the current terminal, I can not get the T1 temperature to relay.
    OctoPrint is another example which expects a T0, T1 response.

    Here is what I send and receive in the DWC:
    4:56:24 PMM105
    T:170.2 /170.0 195.0 /195.0 B:60.0 /60.0

    Looking here:
    http://reprap.org/wiki/G-code#M105:_Get_Extruder_Temperature

    I can see that the response should have this information included so I am probably missing something...

    Here is my config.g:

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    ; Network
    M550 PPrinty McPrintface ; Set machine name
    M540 PBE:EF:DE:AD:FE:ED ; Set MAC address
    M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S1 ; Enable Telnet

    ; Drives
    M584 X0 Y1 Z2 E3:4
    M569 P0 S0 ; Drive 0 goes backwards
    M569 P1 S0 ; Drive 1 goes backwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M569 P4 S1 ; Drive 4 goes forwards
    M350 X16 Y16 Z16 E16:16 I1 ; Configure microstepping with interpolation
    M92 X80 Y80 Z399.29 E823:107.19 ; Set steps per mm
    M566 X600 Y600 Z10 E300:300 ; Set maximum instantaneous speed changes (mm/min)
    M203 X30000 Y30000 Z1500 E5500:5500 ; Set maximum speeds (mm/min)
    M201 X2000 Y2000 Z20 E10000:100000 ; Set accelerations (mm/s^2)
    M906 X1700 Y1700 Z700 E1100:1000 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z-2 S1 ; Set axis minima
    M208 X300 Y290 Z400 S0 ; Set axis maxima

    ; Define the X and Y coordinates of the leadscrews.
    ; Must come after M584 (Set drive mapping), M667 (Select CoreXY Mode) and M669 (Choosing Kinematics type)
    ; Motor order: Front right (1), front left (2), rear center (3).
    ; Snn Maximum correction in mm to apply to each leadscrew (optional, default 1.0)
    M671 X-20.0:325.0 Y100.0:100.0 ; leadscrew offsets from home

    ; Endstops
    M574 X1 Y1 S1 ; Set active high endstops
    M574 Z1 S2 ; Define Z to use Probe. Home to Min

    ; Z-Probe
    M307 H3 A-1 C-1 D-1 ; Disable the 7th Heater to free up PWM channel 5 on the Duex board.
    M558 P9 H5 F100 T2000 X0 Y0 Z1 ; Set Z probe type/mode 5. H=Dive Height. F=Speed the bed moves
    G31 X-26 Y20 Z1.03 P25 ; Set Probe Offset and height
    M557 X30:270 Y30:270 S40 ; Define mesh grid

    ; Heaters
    M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
    M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; Set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4725 C7.06e-8 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; Set temperature limit for heater 1 to 280C
    M305 P2 T100000 B4725 C7.06e-8 R4700 ; Set thermistor + ADC parameters for heater 2
    M143 H2 S280 ; Set temperature limit for heater 2 to 280C

    ; Fans
    M106 P0 S0 I0 F500 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S1 I0 F500 H2 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; Tools
    M563 P0 D0 H1 S"Titan" ; Define tool 0
    G10 P0 X-1 Y-15 Z0 ; Set tool 0 axis offsets
    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
    M563 P1 D1 H2 S"V6" ; Define tool 1
    G10 P1 X-73.13 Y-14.8 Z0 ; Set tool 1 axis offsets. Moved X from 73.8 to 73.3 to 73.4 73.15 73.25 73.14 73.12 73.13 Moved Y from 14.53 to 15.23 to 15.33 to 14.83 14.80.
    G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

    ; Automatic power saving
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss

    ; Custom settings are not configured

    M80 ; power on PSU


  • administrators

    RRF is reporting the temperatures of both hot ends in that response. The first is 170.2C, the second is 195.0C.

    Sadly the reprap wiki page doesn't say what the response format should be, or give an example for dual hot end systems except for the particular case of Repetier firmware with the X0 parameter added. The Marlin documentation doesn't say either. So it appears that there is no documented standard to follow.

    I'll add it to my list to find out some time exactly what response Marlin actually sends.



  • That is amazing dc42. Thank you very much indeed!
    Absolutely loving this board and firmware + DWC. Simply groundbreaking. Thankyou 🙂



  • @dc42 @Foosel suggests the format should be:

    Recv: ok T:195.0 /195.0 T1:188.6 /190.0 B:60.0 /60.0
    

    https://github.com/foosel/OctoPrint/issues/2590


 

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