Paneldue issue



  • All,
    I have been upgrading my mendelmax with a DUET WIFI this afternoon.
    Everything was working well except the temperature that were off by 10° until I upgraded firmware.
    Now, I have following issues

    • the PanelDue is not responding,
    • I have heating issue,
    • I get a lot of communication issues
    • the z probe is reporting 536 (not sure this is an issue)

    My config is as follow:
    -running on 12V

    • e3d v6 (2 years old), I had to change the thermistor but can't remenber what I used, I know what I was using in Marlin
    • MK3B heat bed

    I took a couple of screen shot available at (I already solved the temp issue)
    https://drive.google.com/drive/folders/0B5otcN3NNyA8TmZZYTR3cGZIVW8?usp=sharing

    The config.g looks as follow
    ; Configuration file for MendelMax

    ; Communication and general
    M111 S0 ; Debug off
    M550 mendelmax ; Machine name and Netbios name (can be anything you like)
    M551 Preprap ; Machine password (used for FTP)
    ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
    ;*** Wifi Networking
    M552 S1 ; Enable WiFi

    M555 P2 ; Set output to look like Marlin
    M575 P1 B57600 S1 ; Comms parameters for PanelDue

    ; setting for all axis

    G21 ; Work in millimetres
    G90 ; Send absolute coordinates…
    M83 ; ...but relative extruder moves

    ; Axis and motor configuration
    M569 P0 S0 ; Drive 0 goes forwards (x)
    M569 P1 S0 ; Drive 1 goes forwards (Y)
    M569 P2 S1 ; Drive 2 goes forwards (z)
    M569 P3 S1 ; Drive 3 goes forwards (e1)
    M569 P4 S1 ; Drive 4 goes forwards (E2)

    M350 X16 Y16 Z16 E16 I1 ; set 16x microstepping with interpolation
    M574 Y1 Z0 S1 ; set homing switch configuration (Y homing switch only, at low end, active high)
    M574 X1 S0 ; set homing switch configuration (Y homing switch only, at low end, active high)

    M92 X80 Y80 Z400 ; Set axis steps/mm
    M92 E492.45 ; set extruder 0 and 1 steps/mm

    M906 X800 Y1000 Z800 E800 I60 ; Set motor currents (mA) and increase idle current to 60%
    M201 X3000 Y3000 Z150 E5000 ; Accelerations (mm/s^2)
    M203 X30000 Y30000 Z360 E3600 ; Maximum speeds (mm/min)
    M566 X1200 Y1200 Z1200 E300 ; Maximum instant speed changes mm/minute

    M208 X200 Y200 Z200

    ; Thermistors
    M305 P0 R4700 T100000 B4066 ; set bed thermistor parameters
    M305 P1 R4700 T100000 B4066 ; set E0 thermistor parameters
    M307 H0 A781.2 C186.3 D5.9 B0 ; PID settings for extruder 0

    M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds

    ; Fans
    M106 P1 H-1 ; disable thermostatic mode for fan 1

    ; Tool definitions
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures

    ; Z probe and compensation definition
    M558 P1 X0 Y0 Z1 H3 F200 T5000 ; smart IR Z probe, used for homing Z axis only, dive height 3mm, probe speed 200mm/min, travel speed 5000mm/min
    G31 P500 X10.0 Y-30 Z0.60 ; set threshold and offsets

    ;*** If you are using axis compensation, put the figures in the following command
    M556 S78 X0 Y0 Z0 ; Axis compensation here

    M208 S1 Z-0.2 ; set minimum Z
    ;
    T0 ; select first hot end



  • All,
    I have ran heater tuning as follow

    M303 H1 P0.5 S240

    And got

    Auto tune of heater 1 with P=0.50 S=240.0 cancelled because temperature limit exceeded. Use lower P or higher S in m303 command.

    If then I try

    M303 H1 P0.4 S240

    I get
    Auto tune cancelled because starting temperature is not stable



  • Between each M303, you have to wait for the heater to cool off to room temperature.



  • @StephenRC:

    Between each M303, you have to wait for the heater to cool off to room temperature.

    Thanks
    with M303 H1 P0.15 S240
    I get

    Warning: Heater 1 appears to be over-powered and a fire risk! If left on at full power, its temperature is predicted to reach 982C.
    Auto tune heater 1 with PWM=0.15 completed in 561 sec, maximum temperature reached 165.9C
    Use M307 H1 to see the result

    And

    Heater 1 model: gain 962.1, time constant 198.2, dead time 6.1, max PWM 1.00, in use: yes, mode: PID
    Setpoint change: P6.0, I0.03, D25.7
    Load change: P6.0, I0.36, D25.7

    I enter
    M307 H1 A962.1 C198.2 D6.1 B0 ; PID settings for extruder 0

    Any clue on the frozen paneldue?


  • administrators

    Update your PanelDue firmware to the 1.15beta version, if you have not already done so. It includes a workaround for a bug in the gnu C library that later DuetWiFiFirmware versions seem to trigger.

    A reading of about 535 from the IR Z probe is normal when it is triggered.

    If the thermistor you are using is the Semitec GT104-2 (the same one that E3D supplies with their hot ends), you should change the B parameter in the M305 P1 command to 4388.



  • Hello
    I just did the upgrade while searching, thanks that works (thanks to your doc at https://miscsolutions.wordpress.com/paneldue/))

    Summary
    ~~- the PanelDue is not responding,

    • the z probe is reporting 536 (not sure this is an issue)~~

    I still need to investigate based on the information you provided.

    • I have heating issue,
    • I get a lot of communication issues


  • I am able to print, now, the heat bed is slow to get to PLA temperature but it works.
    So this is looking like this can be closed.

    I now have to calibrate the jerk, acceleration and retract (probably not in that order), but that's business as usual 😉

    Antoine
    Config for reference
    ; Configuration file for MendelMax

    ; Communication and general
    M111 S0 ; Debug off
    M550 mendelmax ; Machine name and Netbios name (can be anything you like)
    M551 Preprap ; Machine password (used for FTP)
    ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
    ;*** Wifi Networking
    M552 S1 ; Enable WiFi

    M555 P2 ; Set output to look like Marlin
    M575 P1 B57600 S1 ; Comms parameters for PanelDue

    ; setting for all axis

    G21 ; Work in millimetres
    G90 ; Send absolute coordinates…
    M83 ; ...but relative extruder moves

    ; Axis and motor configuration
    M569 P0 S0 ; Drive 0 goes forwards (x)
    M569 P1 S0 ; Drive 1 goes forwards (Y)
    M569 P2 S1 ; Drive 2 goes forwards (z)
    M569 P3 S1 ; Drive 3 goes forwards (e1)
    M569 P4 S1 ; Drive 4 goes forwards (E2)

    M350 X16 Y16 Z16 E16 I1 ; set 16x microstepping with interpolation
    M574 Y1 Z0 S1 ; set homing switch configuration (Y homing switch only, at low end, active high)
    M574 X1 S0 ; set homing switch configuration (Y homing switch only, at low end, active high)

    M92 X80 Y80 Z400 ; Set axis steps/mm
    M92 E492.45 ; set extruder 0 and 1 steps/mm

    M906 X800 Y1000 Z800 E800 I60 ; Set motor currents (mA) and increase idle current to 60%
    M201 X3000 Y3000 Z150 E5000 ; Accelerations (mm/s^2)
    M203 X30000 Y30000 Z360 E3600 ; Maximum speeds (mm/min)
    M566 X1200 Y1200 Z1200 E300 ; Maximum instant speed changes mm/minute

    M208 X200 Y200 Z200

    ; Thermistors
    M305 P0 R4700 T100000 B4388 ; set bed thermistor parameters
    M305 P1 R4700 T100000 B4388 ; set E0 thermistor parameters
    M307 H1 A962.1 C198.2 D6.1 B0 ; PID settings for extruder 0

    ;M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds

    ; Fans
    M106 P1 H-1 ; disable thermostatic mode for fan 1

    ; Tool definitions
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures

    ; Z probe and compensation definition
    M558 P1 X0 Y0 Z1 H3 F200 T5000 ; smart IR Z probe, used for homing Z axis only, dive height 3mm, probe speed 200mm/min, travel speed 5000mm/min
    G31 P500 X10.0 Y-30 Z0.60 ; set threshold and offsets

    ;*** If you are using axis compensation, put the figures in the following command
    M556 S78 X0 Y0 Z0 ; Axis compensation here

    M208 S1 Z-0.2 ; set minimum Z
    ;
    T0 ; select first hot end


  • administrators

    What power supply are you using? If is is a 12V LED-type power supply, then there is a pot at the end of the terminal block to adjust the voltage. As long as you have spare power capacity, you can turn the voltage up to 13 or 14V to increase the heater power, A 10% increase in voltage increases heater power by about 20%. If you do this, you should retune your hot end heater because its power will have increased too.



  • @dc42:

    What power supply are you using? If is is a 12V LED-type power supply, then there is a pot at the end of the terminal block to adjust the voltage. As long as you have spare power capacity, you can turn the voltage up to 13 or 14V to increase the heater power, A 10% increase in voltage increases heater power by about 20%. If you do this, you should retune your hot end heater because its power will have increased too.

    Hello,
    I am already running at 13.8V (13.5 under full load). I don't want to get higher than this.
    I had the same issue with the bed before, it takes 60/80 sec to go to 60°, in all cases, that's so short when you print for 4h.
    Antoine



  • @dc42:

    If the thermistor you are using is the Semitec GT104-2 (the same one that E3D supplies with their hot ends), you should change the B parameter in the M305 P1 command to 4388.

    Is that right? E3D say to use 4267K:

    http://wiki.e3d-online.com/wiki/E3D-Lite6_Assembly#Configure_Firmware_.28Easy.21.29

    And the Semitec datasheet seems to agree:

    http://www.atcsemitec.co.uk/gt-2-glass-thermistors.html

    It looks like 4388K is for the GT204-2

    Regards

    David


  • administrators

    I have already explained this in the wiki page on connecting thermistors. I already updated the E3Dv6 firmware configuration instructions, and I have just updated the instructions for the Lite6 too.



  • @dc42:

    I have already explained this in the wiki page on connecting thermistors. I already updated the E3Dv6 firmware configuration instructions, and I have just updated the instructions for the Lite6 too.

    Ah, gotcha, sorry. I only noticed because I happened to swap my J-Head for an E3D v6 Lite last night. I had used the instructions for RepRapFirmware on E3D's website which says to use the book value for RepRapFirmware.

    David

    edit- typo


 

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